Description Usage Arguments Value Author(s)

Adds prediction outputs to data based on model and formula

1 | ```
augment_predict(.data, model, model.per = NULL, ...)
``` |

`.data` |
data to use for model fitting |

`model` |
model function to use (e.g 'lm') |

`model.per` |
a formula representing all terms to group data by to fit
individual models (e.g. |

`...` |
additional arguments to be passed to the model function, prefixed
with 'model' (eg. |

a data frame with new columns based on model fit

Doug Kelkhoff [email protected]

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.