Add fitted values, residuals, and other common outputs to
the value returned from augment
.
augment_columns(x, data, newdata, type, type.predict = type,
type.residuals = type, se.fit = TRUE, ...)
a model
original data onto which columns should be added
new data to predict on, optional
Type of prediction and residuals to compute
Type of prediction to compute; by default
same as type
Type of residuals to compute; by default
same as type
Value to pass to predict's se.fit
, or NULL for
no value
extra arguments (not used)
In the case that a residuals or influence generic is not implemented for the model, fail quietly.