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

View source: R/experimental-features.R

calculate_edsR 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)

CBASSED50 documentation built on June 8, 2025, 10:27 a.m.