Learn R Programming

prodlim (version 1.5.7)

getStates: States of a multi-state model

Description

Extract the states of a multi-state model

Usage

getStates(object, ...)

Arguments

object
Object of class prodlim or Hist .
...
not used

Value

A character vector with the states of the model.

Details

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