powered by
A dataset containing clinical information from a diabetes study.
data(diabetes)
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).
data(diabetes) summary(diabetes)
Run the code above in your browser using DataLab