absorbing function

Absorbing states

Absorbing states

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

absorbing(x, ...) ## S3 method for class 'matrix' absorbing(x, ...) ## S3 method for class '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).