define_transition_table: Define the table for transition

Description Usage Arguments Value Examples

View source: R/model_functions.R

Description

Define the table for transition

Usage

1

Arguments

tmat

transition matrix in the format as in package 'mstate'

Value

the transtion table with the probabilites

Examples

1
2
3
tmat <- rbind(c(1, 2), c(3, 4))
colnames(tmat) <- rownames(tmat) <- c("Healthy", "Dead")
define_transition_table(tmat)

sheejamk/MarkovModel documentation built on Jan. 23, 2020, 2:44 a.m.