get_ed50_by_grouping_property: Get ED50 by Grouping Property

View source: R/run-ed50-analysis.R

get_ed50_by_grouping_propertyR Documentation

Get ED50 by Grouping Property

Description

This function takes a list of models and extracts the ED50 value for each model based on a specified grouping property. The ED50 value is extracted from the model's coefficients and is associated with the intercept term.

Usage

get_ed50_by_grouping_property(models)

Arguments

models

A list of models where each element represents a model object containing coefficients.

Value

A data frame containing the ED50 values along with their corresponding grouping property. Each row represents a model's ED50 value and its associated grouping property.

Examples

data(cbass_dataset)
preprocessed_data <- preprocess_dataset(cbass_dataset)
model_list <-fit_drms(preprocessed_data,
           c("Site", "Condition", "Species", "Genotype"),
            "Pam_value ~ Temperature")
ed50_data <- get_ed50_by_grouping_property(model_list)

# Resulting data frame structure:
#   ED50     GroupingProperty
# 1 ED50_value_1 Group1
# 2 ED50_value_2 Group2

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