Learn R Programming

wooldridge (version 1.1.0)

smoke: smoke

Description

Data loads lazily. Type data(smoke) into the console.

Usage

data(smoke)

Arguments

Format

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)

Examples

Run this code
# NOT RUN {
 str(smoke)
# }

Run the code above in your browser using DataLab