data_mix {WINS}R Documentation

An example with a mixture of endpoint types.

Description

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

Usage

data("data_mix")

Format

A data frame with 400 observations on the following 5 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).

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)
str(data_mix)

[Package WINS version 1.4.2 Index]