View source: R/getsimulations.R
getsimulations | R Documentation |
Obtain simulations (when relevant) from a selected time series
getsimulations(obj, selected_series, transpose = FALSE)
obj |
result from ridge2f (multivariate time series forecast with simulations) |
selected_series |
name of the time series selected |
transpose |
return a transposed time series |
require(fpp)
obj <- ahead::ridge2f(fpp::insurance, h = 7,
type_pi = "bootstrap", B = 5)
print(getsimulations(obj, selected_series = "TV.advert"))
print(getsimulations(obj, selected_series = "Quotes"))
print(getsimulations(obj, selected_series = "TV.advert", transpose = TRUE))
print(getsimulations(obj, selected_series = "Quotes", transpose = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.