Description Usage Format Source References Examples
Data from the 1991-1994 Drug Abuse Treatment Outcome Study on cocaine usage patterns.
1 | data("cocaineplus")
|
A data frame with 7592 observations on the following 8 variables.
sexsrta factor with levels FEMALE MALE
agea numeric vector
mstatstra factor with levels BLANK DIVORCED LIVINGASMARRIED MARRIED NEVERMARRIED SEPARATED WIDOWED
modestra factor with levels crack freebase inhale inject
racestra factor with levels AfroAmerican Caucasian Hispanic Other
sexa numeric vector that takes the value 1 if male and 0 if female
modea numeric vector that takes the value 1 if cocaine usage method is crack, 2 if method is freebase, 3 if method is inhale, and 4 if method is inject
racea numeric vector that takes the value 1 if AfroAmerican, 2 if Caucasian, 3 if Hispanic, and 4 if Other
The data were extracted from the 1991-1994 Drug Abuse Treatment Outcome Study (2010) data (DATOS).
United States Department of Health and Human Services and National Institute of Health and National Institute on Drug Abuse (2010). Drug Abuse Treatment Outcome Study, 1991-1994. Ann Arbor, MI: Inter-university Consortium for Political and Social Research.
1 | data("cocaineplus", package="smdata")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.