Learn R Programming

WINS (version 1.4.3)

data_mix: 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")

Arguments

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

Run this code
data(data_mix)
str(data_mix)

Run the code above in your browser using DataLab