Description Usage Format Source References Examples
Choice of transportation mode by gender, in long format so that each choice occupies 5 rows.
1 | data("trlong")
|
A data frame with 31680 observations on the following 6 variables.
obs
a numeric vector
case
a numeric vector
sex
a numeric vector, = 1
if male and 0
if female
resp
a factor indicating the transport mode choice, and B
denotes taking the bus, codeD denotes driving one's own vehicle, F
denotes getting a ride with a friend, O
denotes other, and W
denotes walking
chosen
a numeric vector taking the value 1
if the transport mode was chosen and 0
if not
pubpriv
a numeric vector that takes a value of 1
if the transportation mode is private and 0
if it is public
The data are 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("trlong", package="smdata")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.