fit_standard_curve: Fit a standard curve

View source: R/calc_conc.R

fit_standard_curveR Documentation

Fit a standard curve

Description

Fit a logistic function to the standard concentrations.

Usage

fit_standard_curve(
  df,
  .parameter = "FL2.H",
  .concentration = "Concentration",
  .fct = "LL.5",
  .data = NULL,
  ...
)

Arguments

df

A tidy data.frame.

.parameter

A character giving the name of column(s) where populations are identified.

.concentration

A character giving the name of the column with the standard concentration.

.fct

A character giving the name of the logistic function to use in the fit, see drc::drm() for details.

.data

Deprecated. Use df.

...

Other arguments to drc::drm()

Value

An object of class drc

Examples


library(beadplexr)
library(drc)
data(ryegrass)

ryegrass_m <-
  fit_standard_curve(df = ryegrass,
                     .parameter = "rootl",
                     .concentration = "conc")

summary(ryegrass_m)


beadplexr documentation built on July 9, 2023, 5:59 p.m.