Functions to extract information from groc
objects: the model frame, the model
matrix.
# S3 method for groc
model.matrix(object, ...)
# S3 method for groc
model.frame(formula, ...)
model.frame.groc
returns a data frame with
all variables neccessary to generate the model matrix.
model.matrix.groc
returns the \(X\) matrix.
a groc
object. The fitted model.
other arguments sent to underlying functions.
Ron Wehrens and Bjørn-Helge Mevik
model.frame.groc
returns the model frame; i.e. a data frame with
all variables necessary to generate the model matrix. See
model.frame
for details.
model.matrix.groc
returns the (possibly coded) matrix used as
\(X\) in the fitting. See model.matrix
for
details.