updateMatrixP {babsim.hospital}R Documentation

updateMatrixP

Description

Updates the probability matrix

Usage

updateMatrixP(P = getMatrixP(), u)

Arguments

P

matrix P. Default getMatrixP

u

list of factors used for the update

Value

a matrix with updated transition probabilities

Examples


u <- list(k = 2)
R <- updateMatrixP(u = u)

[Package babsim.hospital version 11.8.4 Index]