ggplotServer {psichomics} | R Documentation |
Logic set to create an interactive ggplot
ggplotServer(input, output, id, plot = NULL, df = NULL, x = NULL, y = NULL) ggplotAuxServer(input, output, id)
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 |
NULL (this function is used to modify the Shiny session's state)
Insert ggplotAuxSet
outside any observer (so it is only run
once)