estimate_EC50 {ec50estimator}R Documentation

Estimate Efective dose (EC50) for multi isolate data set

Description

Estimate Efective dose (EC50) for multi isolate stratified data set.

Usage

estimate_EC50(formula, data, EC_lvl = 50, isolate_col,
strata_col = NULL,
fct,interval = c("none", "delta", "fls", "tfls"))

Arguments

formula

An object of class "formula.(e.g. growth ~ dose")

data

A data.frame in which the dose-response data is in

EC_lvl

Define the EC level. Default is 50

isolate_col

indicate the isolate colunm. Indicate the name inside "". (e.g. "isolates")

strata_col

indicate the strata colunms. If there are more then one colunms, indicate as a vector (e.g. c("region", "field"))

fct

A list with three or more elements specifying the non-linear function. Please, inform the model function with the :: operator to inform the drc package (e.g. drc::LL.4()). For more info, see "drm".

interval

A character string specifying the type of confidence intervals to be supplied. For more information see "ED"

Examples

# Load data
data(multi_isolate)

df_ec50 = estimate_EC50(growth~dose,
                        data =multi_isolate,
                        isolate_col = "isolate",
                        strata_col =  c("field","fungicida"),
                        interval = "delta",
                        fct = drc::LL.3())
head(df_ec50)


[Package ec50estimator version 0.1.0 Index]