nlsList.selfStart
nlsList Fit from a selfStart FunctionThe response variable and primary covariate in formula(data)
are used together with model
to construct the nonlinear model formula. This is used in the nls
calls and, because a selfStarting model function can calculate initial estimates for its parameters from the data, no starting estimates need to be provided.
## S3 method for class 'selfStart' nlsList(model, data, start, control, level, subset, na.action = na.fail, pool = TRUE, warn.nls = NA)
model | a |
data | a data frame in which to interpret the variables in |
start | an optional named list with initial values for the parameters to be estimated in |
control | a list of control values passed as the |
level | an optional integer specifying the level of grouping to be used when multiple nested levels of grouping are present. |
subset | an optional expression indicating the subset of the rows of |
na.action | a function that indicates what should happen when the data contain |
pool, warn.nls |
a list of nls
objects with as many components as the number of groups defined by the grouping factor. A NULL
value is assigned to the components corresponding to clusters for which the nls
algorithm failed to converge. Generic functions such as coef
, fixed.effects
, lme
, pairs
, plot
, predict
, random.effects
, summary
, and update
have methods that can be applied to an nlsList
object.
selfStart
, groupedData
, nls
, nlsList
, nlme.nlsList
, nlsList.formula
fm1 <- nlsList(SSasympOff, CO2) summary(fm1)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.