Returns the transient and absorbing states of either a fitted model or a transition intensity matrix.

## Arguments

- x
A fitted multi-state model as returned by

`msm`

.- qmatrix
A transition intensity matrix. The diagonal is ignored and taken to be minus the sum of the rest of the row.

## Author

C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk