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.
acceptable_augment_colnames(object, passed_data)
A vector of colnames that are acceptable in augment output.
A model object.
The dataset used to create the model object.