fit_inactivation() validates the input data, builds the nonlinear model
formula, fits it with gslnls::gsl_nls(), and returns a predmicror_fit
object.
Arguments
- data
A data frame containing the time and response variables.
- model
A model name, either quoted or unquoted. See
predmicror_models().- time
Column containing time values, either quoted or unquoted.
- response
Column containing the response values, either quoted or unquoted. Defaults to
"logN".- start
Named list of initial parameter values for the selected model.
- ...
Additional arguments passed to
gslnls::gsl_nls().
