mapPToPara {babsim.hospital}R Documentation

mapPToPara

Description

mapPToPara accepts a nxn matrix. Its values will be mapped onto the probability entries of a babsimHospitalPara list.

Usage

mapPToPara(P = getMatrixP(), para)

Arguments

P

(num) nxn-dim matrix. Values will be mapped onto the probabilities in babsimHospitalPara. Names of these parameters can be obtained via getParameterName.

para

Parameter list, e.g., generated via babsimHospitalPara

Value

This function returns a parameter list.

Examples

para <- babsimHospitalPara()
P <- getMatrixP()
para <- mapPToPara(
  P = P,
  para = para
)

[Package babsim.hospital version 11.8.4 Index]