plot_ED50_box {CBASSED50} | R Documentation |
Plot a boxplot of ED50 values for different species and conditions.
Description
Plot a boxplot of ED50 values for different species and conditions.
Usage
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
)
Arguments
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. |
Value
A ggplot object representing the boxplot of ED50 values.
Examples
# 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)
[Package CBASSED50 version 0.2.0 Index]