acceptable_augment_colnames {modeltests} | R Documentation |
Determine acceptable names for augment output
Description
Given a data frame (or tibble), and a model object, makes a character vector of acceptable columns names for augment output. This includes:
Any column names of the passed dataset
Any syntactically correct column names generated by calling
stats::model.frame()
on the object in question.
Usage
acceptable_augment_colnames(object, passed_data)
Arguments
object |
A model object. |
passed_data |
The dataset used to create the model object. |
Value
A vector of colnames that are acceptable in augment output.
[Package modeltests version 0.1.6 Index]