Learn R Programming

lllcrc (version 1.2)

construct.vgam: Make a VGAM model

Description

A wrapper function to fit a CRC model using the vgam command in the VGAM package.

Usage

construct.vgam(sdf, constr.cols = NULL, constraints, dat)

Arguments

sdf
Nonlinear degrees of freedom. See VGAM documentation for more on what this means.
constr.cols
A vector of column indices.
constraints
A transformed log-linear design matrix. The submatrix indicated by constr.cols is the desired argument to the VGAM command to impose the corresponding log-linear model on the data.
dat
A CRC dataset in standard form (i.e., as output of format.data)

Value

A vgam model object

Details

Even as a wrapper function, this still primarily a workhorse function for vgam.crc.

References

See references for vgam.crc.