Learn R Programming

hesim (version 0.5.5)

absorbing: Absorbing states

Description

This is a generic function that returns a vector of absorbing states.

Usage

absorbing(x, ...)

# S3 method for matrix absorbing(x, ...)

# S3 method for tparams_transprobs absorbing(x, ...)

Arguments

x

An object of the appropriate class. When x is a matrix, it must be a transition matrix in the format from the mstate package (see also IndivCtstmTrans).