extractRequiredFields: extractRequiredFields

Description Usage Arguments Value

View source: R/dataHandler.R

Description

Extract the fields from dataset that are contained in model. It is a wrapper for model.frame which provides a more informative handling of errors by stating which variables were missing if any.

Usage

1
extractRequiredFields(dataset, model)

Arguments

dataset

the dataset to extract from

model

a formula containing the variables to extract

Value

a dataset containing only the extracted fields


porteous54/caRtesian documentation built on May 30, 2019, 11:43 a.m.