A shiny module which creates and shows the plot that the user has specified.
Usage
plot_ui(id)
plot_server(
id,
type,
data,
scores,
performance_col,
show_text,
custom_type,
custom_args,
create,
interactive
)
Arguments
- id
The namespace of the module.
- type
The plot type.
- data
The data to plot.
- scores
The data frame of score specifications created by the user. See scores_init.
- performance_col
If
type
is "Score performance", the column to plot against the scores.- show_text
Passed into
correlation_plot()
.- custom_type
If
type
is "Custom", the plotting method of the custom plot.- custom_args
If
type
is "Custom", the arguments to create the custom plot.- create
The button input that specifies that a plot should be generated.
- interactive
Whether the created plot should be interactive.