flexible_violinboxplot.Rd
This function generates a violin or box plot based on the provided data, parameter, and dose information.
flexible_violinboxplot(
boxplotdata,
parameter,
xvars,
colorvars,
varvalstofilter,
columns_to_hover,
box = TRUE
)
A string specifying the parameter to be plotted.
A character vector indicating the column names from result_data that should be used to identify when hovering the plotly outputs
A logical value indicating whether to plot a box plot (TRUE
) or a
violin plot (FALSE
). Default is TRUE
.
A list containing the data to be plotted. It should have a data
element with dose information and a formatted
element with the
data to be plotted.
A vector of doses to be included in the plot.
A vector of dose numbers to be included in the plot.
A plotly object representing the violin or box plot.