Learn R Programming

KMsurv (version 0.1-5)

std: data from Section 1.12

Description

The std data frame has 877 rows and 3 columns.

Arguments

Format

This data frame contains the following columns:
obs
Observation number
race
Race (W=white, B=black)
marital
Marital status (D=divorced / separated, M=married, S=single)
age
AGE
yschool
Years of schooling
iinfct
Initial infection (1= gonorrhea, 2=chlamydia, 3=both)
npartner
Number of partners
os12m
Oral sex within 12 months (1=yes, 0=no)
os30d
Oral sex within 30 days (1=yes, 0=no)
rs12m
Rectal sex within 12 months (1=yes, 0=no)
rs30d
Rectal sex within 30 days (1=yes, 0=no)
abdpain
Presence of abdominal pain (1=yes, 0=no)
discharge
Sign of discharge (1=yes, 0=no)
dysuria
Sign of dysuria (1=yes, 0=no)
condom
Condom use (1=always, 2=sometime, 3=never)
itch
Sign of itch (1=yes, 0=no)
lesion
Sign of lesion (1=yes, 0=no)
rash
Sign of rash (1=yes, 0=no)
lymph
Sign of lymph (1=yes, 0=no)
vagina
Involvement vagina at exam (1=yes, 0=no)
dchexam
Discharge at exam (1=yes, 0=no)
abnode
Abnormal node at exam (1=yes, 0=no)
rinfct
Reinfection (1=yes, 0=no)
time
Time to reinfection

Source

Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer.

Examples

Run this code
data(std)

Run the code above in your browser using DataLab