ensemble | R Documentation |
Combine multiple forecasts' output into a single ensemble. Presently, only a general average ensemble is available.
ensemble_forecasts(
main = ".",
method = "unwtavg",
forecasts_groups = NULL,
forecasts_ids = NULL,
forecast_table = NULL,
historic_end_newmoonnumber = NULL,
models = NULL,
dataset = NULL,
species = NULL
)
main |
|
method |
|
forecasts_groups |
|
forecasts_ids |
|
forecast_table |
Optional |
historic_end_newmoonnumber |
|
models |
|
dataset |
|
species |
|
A pre-loaded table of forecasts can be input, but if not (default), the table will be efficiently (as defined by the inputs) loaded and trimmed.
The forecasts can be trimmed specifically using the forecasts_ids
input, otherwise, all relevant forecasts from the stated forecast_groups
will be included.
data.frame
of ensembled forecasts.
Core forecasting functions:
evaluate forecasts
,
portalcast()
,
process forecast output
## Not run:
main1 <- file.path(tempdir(), "ensemble")
setup_production(main = main1)
forecasts_ids <- select_forecasts(main = main1,
datasets = "controls",
species = "DM")$forecast_id
ensemble_forecasts(main = main1,
forecasts_ids = forecasts_ids)
unlink(main1, recursive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.