View source: R/class-forecast.R
new_forecast | R Documentation |
forecast
objectsConstruct a class based on a data.frame or similar. The constructor
coerces the data into a data.table
assigns a class
new_forecast(data, classname)
data |
A data.frame (or similar) with predicted and observed values. See the details section of for additional information on the required input format. |
classname |
name of the class to be created |
An object of the class indicated by classname
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.