Construct a class based on a data.frame or similar. The constructor
Usage
new_forecast(data, classname)
Arguments
- data
A data.frame (or similar) with predicted and observed values.
See the "Target format" section in Details for additional information
on the required input format.
- classname
name of the class to be created
Value
An object of the class indicated by classname