augment

0th

Percentile

Augment data according to a tidied model

Given an R statistical model or other non-tidy object, add columns to the original dataset such as predictions, residuals and cluster assignments.

Usage
augment(x, data, ...)
Arguments
x
model or other R object to convert to data frame
data
original dataset, if needed (when possible this is extracted from the model)
...
other arguments passed to methods
Details

This generic originated in the ggplot2 package, where it was called "fortify."

See Also

augment.lm

Aliases
  • augment
Documentation reproduced from package broom, version 0.3.4, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.