Learn R Programming

Greg (version 1.2)

prGetModelData: Get model data.frame

Description

Returns the raw variables from the original data frame using the get_all_vars but with the twist that it also performs any associated subsetting based on the model's subset argument.

Usage

prGetModelData(x)

Arguments

x
The fitted model.

Value

data.frame