metSim: Function to run random meteorological simulations on a gbm...

View source: R/metSim.R

metSimR Documentation

Function to run random meteorological simulations on a gbm model

Description

Function to run random meteorological simulations on a gbm model

Usage

metSim(
  dw_model,
  newdata,
  metVars = c("ws", "wd", "air_temp"),
  n.core = 4,
  B = 200
)

Arguments

dw_model

Model object from running buildMod().

newdata

Data set to which to apply the model. If missing the data used to build the model in the first place will be used.

metVars

The variables that should be randomly varied.

n.core

Number of cores to use.

B

Number of simulations

Value

a tibble

Author(s)

David Carslaw

See Also

buildMod() to build a gbm model


davidcarslaw/deweather documentation built on March 27, 2024, 8:18 a.m.