getModelData: Get the data used to fit a model

View source: R/wald.R

getModelDataR Documentation

Get the data used to fit a model

Description

Returns a data frame with the variables used to fit a model. In contrast with model.frame, getModelData returns the variables as they appear in the original data frame used to fit the model.

Usage

getModelData(model)

Arguments

model

a model to which the function model.frame can be applied along with a number of other basic functions and methods.

Value

a data frame with the variables needed to fit 'model'.


gmonette/spida2 documentation built on Aug. 11, 2024, 7:52 p.m.