updateMatrixP: updateMatrixP

View source: R/updateMatrixP.R

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

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