Creates various types of plots for data visualization in the StepReg Shiny application.
createPlot(plot_type_value, var_plot_value, data_value)A list of ggplot objects or a single ggplot object depending on the plot type.
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".
Character vector of variable names to plot.
Data frame containing the data to plot.