R Dataset / Package KMsurv / std

On this R-data statistics page, you will find information about the std data set which pertains to data from Section 1.12. The std data set is found in the KMsurv R package. You can load the std data set in R by issuing the following command at the console data("std"). This will load the data into a variable called std. If R says the std data set is not found, you can try installing the package by issuing this command install.packages("KMsurv") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the std R data set. The size of this file is about 50,593 bytes.

data from Section 1.12

Description

The std data frame has 877 rows and 3 columns.

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

data(std)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-kmsurv-std.html" width="100%" height="100%" style="border:0px"></iframe>