data {presmoothedTP}R Documentation

data

Description

Simulated data in which the individuals can move from the initial state (State 1) to an intermediate state (State 2). From there, they may either proceed to the absorbing state (State 4), passing through another intermediate state (State 3), or move directly from the initial state to the absorbing state.

Usage

data("data")

Format

A data frame with 500 observations on the following 6 variables.

y1

First gap time.

state1

Indicator of the first gap time; 0 if the first time is censored and 1 otherwise.

y2

Second gap time.

state2

Censoring indicator of the second gap time; 0 if the total time is censored and 1 otherwise.

y3

Third gap time.

state3

Censoring indicator of the third gap time; 0 if the total time is censored and 1 otherwise.

Examples

  data(data)

[Package presmoothedTP version 0.1.0 Index]