The function makes it possible to silently validate an object. In addition, it can return a copy of the data and remove rows with missing values.
Arguments
- forecast
A forecast object (a validated data.table with predicted and observed values, see
as_forecast()
).- copy
Logical, default is
FALSE
. IfTRUE
, a copy of the input data is created.- na.omit
Logical, default is
FALSE
. IfTRUE
, rows with missing values are removed.