data_mix: An example with a mixture of endpoint types.

data_mixR 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)

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