estimate_EC50: Estimate Efective dose (EC50) for multi isolate data set

Description Usage Arguments Examples

View source: R/estimate_EC50.R

Description

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

Usage

1
2
3
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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)

ec50estimator documentation built on Sept. 15, 2020, 5:07 p.m.