Learn R Programming

FlexParamCurve (version 1.3)

posnegRichards_calls: List of calls for fitting 36 SSposnegRichards models in nlsList

Description

The posnegRichards_calls list has two components of 20 and 17 rows and 1 column, respectively, called 'Variable M models' (models with 4 estimable positive parameters) and "Fixed M models" (models with 3 estimable positive parameters, i.e. M is fixed to value in $pnmodelparams$.

Usage

data(posnegRichards_calls)

Arguments

Details

A list object to provide users with examples of how to fit 36 different nlsList models using the selfStart function SSposnegRichards.

Examples

Run this code
# extract the call for fitting a nls model with 8-parameter positive-begative Richards curve (model 1)
data(posnegRichards_calls)
data(posneg_data)
modtofit <- as.character( posnegRichards_calls [[1]] [1,] )
modtofit <- parse(text = modtofit)
modpar(posneg_data$age, posneg_data$mass) #create pnmodelparams for fixed parameters
eval(modtofit)

# view call for model 20
posnegRichards_calls [[1]] [20,]

Run the code above in your browser using DataLab