runoptUK: runoptUK Optimierung der babsim.hospital Parameter

View source: R/runoptUK.R

runoptUKR Documentation

runoptUK Optimierung der babsim.hospital Parameter

Description

SPOT Aufruf zur Optimierung der babsim Parameter

Usage

runoptUK(
  expName = "ukl001",
  simData = simData,
  fieldData = fieldData,
  TrainFieldStartDate = Sys.Date() - 6 * 7,
  TrainSimStartDate = Sys.Date() - 10 * 7,
  TestFieldStartDate = Sys.Date() - 4 * 7,
  TestSimStartDate = Sys.Date() - 8 * 7,
  Overlap = 0,
  verbosity = 0,
  seed = 123,
  repeats = 1,
  funEvals = 35,
  size = 30,
  simrepeats = 2,
  subset = 32,
  parallel = FALSE,
  percCores = 0.8,
  icu = FALSE,
  icuWeights = c(1, 1, 1),
  testRepeats = 3,
  resourceNames = c("bed", "intensiveBed", "intensiveBedVentilation"),
  resourceEval = c("bed", "intensiveBed", "intensiveBedVentilation"),
  factorUK = 1,
  factorIcuUK = 1
)

Arguments

expName

Experiment Name

simData

RKI Daten

fieldData

ICU Daten

TrainFieldStartDate

Start (Tag), e.g., "2020-06-01"

TrainSimStartDate

Start (Tag), e.g., "2020-05-01"

TestFieldStartDate

Start (Day), e.g., "2020-06-01" for test field data

TestSimStartDate

Start (Day), e.g., "2020-05-01" for test simulation data, TestSimStartDate is usually before TestFieldStartDate

Overlap

integer. Days, train data will be extended (overlap with test data). Default: 7

verbosity

verbosity (int). Default: 0

seed

Seed

repeats

Wiederholungen fuer SPOT (Optimierungslaeufe mit unterschiedlichem Seed)

funEvals

Auswertungen fuer SPOT (Simulationen, die fuer einen SPOT Lauf zur Verfuegung stehen)

size

Groesse des initialen Desings

simrepeats

Sim Wdhlg

subset

Subset (SPOT)

parallel

logical

percCores

percentage

icu

ICU Daten

icuWeights

Gewichtung der ICU Betten

testRepeats

number of final evaluations on the test data

resourceNames

Name der Ressourcen

resourceEval

Name der zu evaluierenden Ressourcen

factorUK

factor to adapt the percentage of patients ventilated. For example, if set to '0.5', only 50 percent of the default number of patients will be ventilated. Default: 1

factorIcuUK

factor to adapt the duration on ICU. For example, if set to '0.5', patients stay on half the time at ICU Default: 1

Examples


## Not run: 
res <- runoptUK()

## End(Not run)


babsim.hospital documentation built on May 30, 2022, 9:05 a.m.