View source: R/experimental-features.R
plot_ED50_box | R Documentation |
Plot a boxplot of ED50 values for different species and conditions.
plot_ED50_box(
cbass_dataset,
grouping_properties = c("Site", "Condition", "Species", "Timepoint"),
drm_formula = "Pam_value ~ Temperature",
Condition = "Condition",
faceting = "~ Site",
size_text = 12,
size_points = 2
)
cbass_dataset |
A data frame containing the dataset to be processed. |
grouping_properties |
A character vector of column names to be used for grouping. Default: c("Site", "Condition", "Species", "Timepoint") |
drm_formula |
A formula object specifying the dose-response model. Default: "Pam_value ~ Temperature". |
Condition |
A character string specifying the condition to be used for coloring the plot. Default: "Condition". |
faceting |
A formula specifying the faceting of the plot. Default: "~ Site". |
size_text |
Default: 12. A formula specifying the faceting of the plot. |
size_points |
Default: 2. A formula specifying the faceting of the plot. |
A ggplot object representing the boxplot of ED50 values.
# Example dataset
data(cbass_dataset)
# Example grouping properties
grouping_properties <- c("Site", "Condition", "Species", "Timepoint")
# Make ggplot object
boxplot_ED50 <- plot_ED50_box(cbass_dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.