model.data: Extract data of model

View source: R/model.data.R

model.dataR Documentation

Extract data of model

Description

Extract data of model

Usage

model.data(fit)

model.y(fit)

model.x(fit)

Arguments

fit

fitted results

Value

dataframe in the model

Examples

fit <- lm(mpg~vs+am+poly(qsec,2),data=mtcars)
head(model.data(fit))
model.y(fit)
model.x(fit)

do documentation built on Sept. 12, 2024, 6:27 a.m.