prExtractOutcomeFromModel: Get model outcome
Description
Uses the model to extract the outcome variable. Throws
error if unable to find the outcome.
Usage
prExtractOutcomeFromModel(model, mf)
Arguments
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.