View source: R/plot_collection.R
check_time_series_collection | R Documentation |
This function checks that an object holding a collection of time series,
their future values and their forecasts has the correct format. This kind of
objects are used in function plot_collection()
. A collection of time series
should be a list compounded of objects of class ts_info
, which are built
using the ts_info()
function.
check_time_series_collection(collection)
collection |
a list representing a collection of time series as
described in |
a character string with value "OK"
if the object is properly
formatted. Otherwise, the character string indicates the first error found
in the object's format.
c <- list(ts_info(USAccDeaths), ts_info(ldeaths))
check_time_series_collection(c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.