diabetes {marcox}R Documentation

Diabetes Study Data

Description

A dataset containing clinical information from a diabetes study.

Usage

data(diabetes)

Format

A data frame with 166 rows and 6 variables:

risk

Numeric: Risk score of the patient.

cens

Binary (0/1): Censoring indicator (1 = event occurred, 0 = censored).

time

Numeric: Time to event or censoring (in months).

id

Integer: Patient ID.

trt

Binary (0/1): Treatment indicator (1 = treated, 0 = control).

age

Binary (0/1): Age group indicator (1 = older, 0 = younger).

Source

Hypothetical clinical study data.

Examples

  data(diabetes)
  summary(diabetes)

[Package marcox version 1.0.0 Index]