surdata: A simulated dataset with survival data

surdataR Documentation

A simulated dataset with survival data

Description

A simulated dataset to test functions for imputation compatible with cox model.

Usage

data(cldata)

Format

A data frame with 500 observations on the following 5 variables.

measure

A numeric variable with some measure of interest (unspecified). This is partially observed.

sex

A binary variable with gender indicator. Partially observed.

id

The id for individuals within each city.

time

Time to event (death or censoring).

status

Binary variables, which takes value 0 for censored observations and 1 for deaths/events.

Details

These are not real data, they are simulated to illustrate the use of the main functions of the package.


jomo documentation built on April 15, 2023, 5:07 p.m.

Related to surdata in jomo...