data_mix | R Documentation |

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.

`data("data_mix")`

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.

```
data(data_mix)
str(data_mix)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.