Skip to contents

Return a plain data frame suitable for reporting estimates from all, best, or selected models.

Usage

report_ec50(x, models = "all")

Arguments

x

An object returned by [estimate_EC50()] or [ec50_multimodel()].

models

One of `"all"`, `"best"`, or a character vector of model names.

Value

A plain data frame.

Examples

data(multi_isolate)
fit <- estimate_EC50(
  growth ~ dose,
  data = subset(multi_isolate, isolate %in% 1:3 & fungicida == "Fungicide A"),
  isolate_col = "isolate",
  strata_col = "field",
  fct = drc::LL.3()
)
report_ec50(fit)
#>   ID        field    Estimate   Std..Error
#> 1  1      Organic 0.006072082 0.0005740341
#> 2  2 Conventional 0.101455765 0.0076364691
#> 3  3      Organic 0.003776957 0.0002432571