data_mix_stratum {WINS}R Documentation

An example with a mixture of endpoint types with three strata.

Description

This is a simulated data example with a mixture of two continuous and one time-to-event endpoints with three strata. The first endpoint is time-to-event and the second and third endpoints are continuous.

Usage

data("data_mix_stratum")

Format

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

id

A vector for the patient id.

arm

A vector for the treatment groups.

stratum

A vector for the stratum.

Delta_1

A vector for the event status of the first 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_mix_stratum)
str(data_mix_stratum)

[Package WINS version 1.4.2 Index]