Learn R Programming

prodlim (version 2023.08.28)

getStates: States of a multi-state model

Description

Extract the states of a multi-state model

Usage

getStates(object, ...)

Value

A character vector with the states of the model.

Arguments

object

Object of class prodlim or Hist .

...

not used

Author

Thomas A. Gerds

Details

Applying this function to the fit of prodlim means to apply it to fit$model.response.