Alternative to stats::predict. Provide concentration (Conc) or Fluorescence intensity (FI) to have the other one returned according to the model.

five_par_log_regress(nls_model, Conc = NULL, FI = NULL)

Arguments

nls_model

non-linear least squares regression model

Conc

concentration values

FI

fluorescence intensities

Value

Details

If FI is provided, ((((aa - dd) / (FI - dd))^(1/gg) - 1)^(1/bb))*cc is used; if Conc is provided dd + (aa - dd) / ((1 + (Conc / cc)^bb))^gg is used. Alternatively stats::predict(nls_model, newdata = data.frame(Conc = 1:10))