View source: R/generateWeather.R
generateWeather | R Documentation |
Uses a Bayesian network model, output from buildWeatherGenerator()
to simulate a multivariate series. If the model was learnt without predictors, x
must be NULL. Otherwise x is required.
generateWeather(
wg,
initial = NULL,
n = 1,
x = NULL,
inference.type = NULL,
initial.date = NULL,
advance.type = "simulation",
threshold.vector = 0.5,
resample.size = 10000,
event = "1"
)
wg |
Bayesian network weather generator model, as output from |
initial |
An initial observation, as vector. If |
n |
Number of observations to generate. |
x |
A predictors object (grid) |
inference.type |
Either |
initial.date |
A date element. If provided, rownames will be labeled after this date. |
advance.type |
|
threshold.vector |
Ignored if |
event |
Name of the positive event. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.