mapPToPara: mapPToPara

View source: R/mapPToPara.R

mapPToParaR 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
)

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