powered by
Data loads lazily. Type data(smoke) into the console.
data(smoke)
A data.frame with 807 rows and 10 variables:
educ. years of schooling
cigpric. state cig. price, cents/pack
white. =1 if white
age. in years
income. annual income, $
cigs. cigs. smoked per day
restaurn. =1 if rest. smk. restrictions
lincome. log(income)
agesq. age^2
lcigpric. log(cigprice)
# NOT RUN { str(smoke) # }
Run the code above in your browser using DataLab