calculate_eds {CBASSED50}R Documentation

Calculate ED5, ED50, and ED95 values for all samples in the dataset.

Description

Calculate ED5, ED50, and ED95 values for all samples in the dataset.

Usage

calculate_eds(
  cbass_dataset,
  grouping_properties = c("Site", "Condition", "Species", "Timepoint"),
  drm_formula = "Pam_value ~ Temperature"
)

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".

Value

A data frame with ED5, ED50, and ED95 values for each grouping property.

Examples

# Example dataset
data(cbass_dataset)

# Extract the ED5, ED50, and ED95 values as a data frame
eds_df <- calculate_eds(cbass_dataset)

[Package CBASSED50 version 0.2.0 Index]