prExtractOutcomeFromModel: Get model outcome

Description Usage Arguments Value

View source: R/private_functions.R

Description

Uses the model to extract the outcome variable. Throws error if unable to find the outcome.

Usage

1

Arguments

model

The fitted model

mf

The dataset that the model is fitted to - if missing it uses the model.frame() dataset. This can cause length issues as there may be variables that are excluded from the model for different reasons.

Value

vector


Greg documentation built on July 1, 2020, 6:59 p.m.