gtoxFit | R Documentation |
gtoxFit
fits the constant, hill, and gain-loss models to the given
data and returns some summary statistics and the fit parameters in a list.
gtoxFit(logc, resp, bmad, force.fit = FALSE, ...)
logc |
Numeric, log concentration values |
resp |
Numeric, normalized response values |
bmad |
Numeric, the baseline median absolute deviation for the entire assay |
force.fit |
Logical, TRUE indicates to attempt fitting every concentration series |
... |
Any other data to be included in list output. |
By default, gtoxFit
will only attempt to fit concentration series
when at least one median value is greater than 3*bmad.
List of summary values and fit parameters for the given data.
gtoxObjCnst
, gtoxObjHill
,
gtoxObjGnls
, constrOptim
logc <- 1:10
resp <- sapply(1:10, gtoxHillVal, ga = 5, tp = 50, gw = 0.5)
params <- gtoxFit(logc = logc, resp = resp, bmad = 10)
plot(resp ~ logc)
gtoxAddModel(pars = params, modl = "hill")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.