polywog (version 0.4-1)

model.frame.polywog: Model frame of a polywog model

Description

Extracts the model frame from a fitted polywog model, as model.frame.lm does for a fitted lm model.

Usage

# S3 method for polywog
model.frame(formula, ...)

Arguments

formula

a fitted model of class "polywog" (the argument is named formula for consistency with the generic function model.frame)

...

other arguments, currently ignored (but may later be adapted for use as in model.frame.lm)

Value

A data frame containing the variables used to fit the model, with additional attributes (e.g., "terms") used to construct a model matrix.

See Also

model.matrix.polywog for constructing the design matrix.