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