powered by
Interface function to evaluate one parameter configuration from babsimHospitalPara
babsimHospitalPara
funOptimizeSim(x, conf, data, ...)
num: real values. Will be interpreted as parameter values for babsimHospital. Names of these parameters can be obtained via getParameterName.
babsimHospital
getParameterName
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)
list with simData and fieldData
additional variables
This function returns a real value, that represents the combined rmse from the three beds types.
# NOT RUN { x <- getStartParameter() conf <- babsimToolsConf() data <- getObkData() err <- funOptimizeSim(x = x, conf = conf, data = data) # }
Run the code above in your browser using DataLab