augment.hts_inla: augment: Add predictions and residuals to data

Description Usage Arguments Value Examples

View source: R/augment.R

Description

The augment() function returns the data used in the model

Usage

1
2
## S3 method for class 'hts_inla'
augment(x, newdata = NULL, exponentiate = FALSE, ...)

Arguments

x

object of class "hts_inla"

newdata

new data to pass to prediction? Default is NULL

exponentiate

default FALSE. Whether to exponentiate predictions

...

extra arguments to pass to augment(). Currently unused.

Value

dataframe with column names of original data, as well as extra columns, ".fitted" and ".resid".

Examples

1
2

njtierney/yahtsee documentation built on Feb. 5, 2022, 8:25 p.m.