Learn R Programming

nlme (version 3.1-149)

gnlsStruct: Generalized Nonlinear Least Squares Structure

Description

A generalized nonlinear least squares structure is a list of model components representing different sets of parameters in the nonlinear model. A gnlsStruct may contain corStruct and varFunc objects. NULL arguments are not included in the gnlsStruct list.

Usage

gnlsStruct(corStruct, varStruct)

Arguments

corStruct

an optional corStruct object, representing a correlation structure. Default is NULL.

varStruct

an optional varFunc object, representing a variance function structure. Default is NULL.

Value

a list of model variance-covariance components determining the parameters to be estimated for the associated nonlinear model.

See Also

gnls, corClasses, residuals.gnlsStruct varFunc

Examples

Run this code
# NOT RUN {
gnls1 <- gnlsStruct(corAR1(), varPower())
# }

Run the code above in your browser using DataLab