Description Usage Arguments Value Examples
weightcast
launches an interactive, Shiny-based application that allows the user to select multiple weight combinations that fit her preference for fit versus smoothness of the forecasts.
1 2 | weightcast(x, out.file = NULL, out.object = NULL, center.diags = T,
scale.diags = T, options = list())
|
x |
Object of class |
out.file |
Character. Gives full filename (and path) of where to save selected weight combinations (if requested). Default: NULL. |
out.object |
Character. Gives name of object in |
center.diags |
Logical. If |
scale.diags |
Logical. If |
options |
Options passed to |
NULL
.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(netherlands)
ff <- log(brst3/popu3) ~ log(hc) + log(gdp) + log(tobacco3) + log(fat) + time
out <- gridcast(netherlands_data, formula=ff, model="map",
sample.frame=c(1950,2000,2001,2030), verbose=FALSE)
weightcast(out)
weightcast(out, options=list(port=8888, launch.browser = F))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.