Total length of stay, or expected number of visits

Description Usage Arguments Value Author(s)

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

1 2 | ```
transient.msm(x=NULL, qmatrix=NULL)
absorbing.msm(x=NULL, qmatrix=NULL)
``` |

`x` |
A fitted multi-state model as returned by |

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

A vector of the ordinal indices of the transient or absorbing states.

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.