ggplotServer {psichomics} | R Documentation

## Logic set to create an interactive ggplot

### Description

Logic set to create an interactive ggplot

### Usage

    ggplotServer(input, output, id, plot = NULL, df = NULL, x = NULL,
      y = NULL)

    ggplotAuxServer(input, output, id)

### Arguments

`input` | Shiny input
`output` | Shiny output
`id` | Character: identifier
`plot` | Character: plot expression (NULL renders no plot)
`df` | Data frame
`x` | Character: name of the variable used for the X axis
`y` | Character: name of the variable used for the Y axis

### Value

NULL (this function is used to modify the Shiny session's state)

### Note

Insert `ggplotAuxSet` outside any observer (so it is only run once)

[Package psichomics version 1.6.2 Index]