| createPlot | R Documentation |
Creates various types of plots for data visualization in the StepReg Shiny application.
createPlot(plot_type_value, var_plot_value, data_value)
plot_type_value |
Character string specifying the type of plot to create. Options include: "Bar plot", "Box plot", "Correlation plot", "Density plot", "Dot plot", "Histogram", "QQ plot", "Scatter and Line plot". |
var_plot_value |
Character vector of variable names to plot. |
data_value |
Data frame containing the data to plot. |
A list of ggplot objects or a single ggplot object depending on the plot type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.