Learn R Programming

fabletools (version 0.5.0)

stream: Extend a fitted model with new data

Description

Extend the length of data used to fit a model and update the parameters to suit this new data.

Usage

stream(object, ...)

# S3 method for mdl_df stream(object, new_data, ...)

Arguments

object

An object (such as a model) which can be extended with additional data.

...

Additional arguments passed on to stream methods.

new_data

A dataset of the same structure as was used to fit the model.