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

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
2
## S3 method for class '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.

Author(s)

Brenton Kenkel and Curtis S. Signorino

See Also

model.matrix.polywog for constructing the design matrix.


brentonk/polywog-package documentation built on May 13, 2019, 5:10 a.m.