| trlong {smdata} | R Documentation |
Transportation mode choice, long format
Description
Choice of transportation mode by gender, in long format so that each choice occupies 5 rows.
Usage
data("trlong")
Format
A data frame with 31680 observations on the following 6 variables.
obsa numeric vector
casea numeric vector
sexa numeric vector, =
1if male and0if femalerespa factor indicating the transport mode choice, and
Bdenotes taking the bus, codeD denotes driving one's own vehicle,Fdenotes getting a ride with a friend,Odenotes other, andWdenotes walkingchosena numeric vector taking the value
1if the transport mode was chosen and0if notpubpriva numeric vector that takes a value of
1if the transportation mode is private and0if it is public
Source
The data are extracted from the 1991-1994 Drug Abuse Treatment Outcome Study (2010) data (DATOS).
References
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.
Examples
data("trlong", package="smdata")