data_tte: An example with three TTE endpoints.

data_tteR Documentation

An example with three TTE endpoints.

Description

This is a simulated data example with three time-to-event endpoints.

Usage

data("data_tte")

Format

A data frame with 400 observations on the following 7 variables.

id

A vector for the patient id.

arm

A vector for the treatment groups.

Delta_1

A vector for the event status of the first endpoint (1=event, 0=censored).

Delta_2

A vector for the event status of the second endpoint (1=event, 0=censored).

Delta_3

A vector for the event status of the third endpoint (1=event, 0=censored).

Y_1

A vector for the outcome of the first endpoint.

Y_2

A vector for the outcome of the second endpoint.

Y_3

A vector for the outcome of the third endpoint.

Examples

data(data_tte)
str(data_tte)

WINS documentation built on May 29, 2024, 10:51 a.m.