ESAModel: Title: ESAModel Author: Edmund Haacke Date created:...

ESAModelR Documentation

Title: ESAModel Author: Edmund Haacke Date created: 22.09.2021 Date modified: 22.09.2021 Changelog: - 22.09.21: file created. Description:

Description

Title: ESAModel Author: Edmund Haacke Date created: 22.09.2021 Date modified: 22.09.2021 Changelog: - 22.09.21: file created. Description:

Title: ESAModel Author: Edmund Haacke Date created: 22.09.2021 Date modified: 22.09.2021 Changelog: - 22.09.21: file created. Description:

Methods

Public methods


Method new()

Usage
ESAModel$new(
  ESAEDAggregated,
  model.type = c("poisfe", "olsfe"),
  bedOccupancy = NULL,
  slotVars = NULL,
  nonSlotVars = NULL,
  fixedEffects = NULL,
  printSummary = FALSE,
  withAME = FALSE
)

Method runScenario()

Usage
ESAModel$runScenario(scenario)

Method results.slot.avg()

Usage
ESAModel$results.slot.avg(sig = 0.1, min.slot.sig = 3)

Method getResults()

Usage
ESAModel$getResults(
  sig = 0.1,
  min.slot.sig = 3,
  useSampleAvgs = TRUE,
  from = "max",
  to = "mean"
)

Method getCoefficientPlots()

Usage
ESAModel$getCoefficientPlots(exclusions = NULL)

Method getBedOccupancyPlots()

Usage
ESAModel$getBedOccupancyPlots(
  sig = 0.1,
  min.slot.sig = 3,
  useSampleAvgs = TRUE,
  groupSize = 5,
  reverse = FALSE
)

Method getRegressionDatasets()

Usage
ESAModel$getRegressionDatasets()

Method getSampleAvgs()

Usage
ESAModel$getSampleAvgs(bo = TRUE)

Method getRegressionTable()

Usage
ESAModel$getRegressionTable(exclusions = NULL)

Method getAMEs()

Usage
ESAModel$getAMEs()

Method clone()

The objects of this class are cloneable with this method.

Usage
ESAModel$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


nhsengland/ESA_ED_Crowding documentation built on Nov. 23, 2022, 4:49 p.m.