funWrapOptimizeSim {babsim.hospital}R Documentation

funWrapOptimizeSim

Description

Wrapper function for funOptimizeSim

Usage

funWrapOptimizeSim(x, conf, data)

Arguments

x

num: real values. Will be interpreted as parameter values from babsimHospital. Names of these parameters can be obtained via getParameterName.

conf

list with the following entries:

seed

seed. Default: 123

simRepeats

simmer repeats

parallel

simmer parallel runs. Default: FALSE

perCores

percentage of cores used for parallel simmer simulations. Default: 0.5 (=50 percent)

ICU

use ICU infection data. Default: FALSE

logLevel

log leved (0 or 1). Default: 0 (no output)

For example: conf <- babsimToolsConf()

data

list with simData and fieldData, e.g. data <- getObkData().

Value

This function returns a num [1, 1] matrix, that represents the combined rmse from the three beds.

Examples

para <- getStartParameter()
conf <- babsimToolsConf()
data <- getObkData()
funWrapOptimizeSim(x = para, conf = conf, data = data)

[Package babsim.hospital version 11.8.8 Index]