This dataset, smoking_UK_tbl_df, is a tibble containing survey data on smoking habits from the UK, with demographic characteristics and tobacco consumption patterns from 1,691 respondents.
data(smoking_UK_tbl_df)A tibble with 1,691 observations and 12 variables:
Gender of respondent (factor with 2 levels)
Age in years (integer)
Marital status (factor with 5 levels)
Highest education qualification (factor with 8 levels)
Nationality (factor with 8 levels)
Ethnic group (factor with 7 levels)
Income bracket (factor with 10 levels)
UK region (factor with 7 levels)
Smoking status (factor with 2 levels)
Cigarettes smoked on weekends (integer)
Cigarettes smoked on weekdays (integer)
Type of tobacco used (factor with 5 levels)
The dataset name has been kept as 'smoking_UK_tbl_df' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the PulmoDataSets package. The suffix 'tbl_df' indicates that this is a tibble data frame. The original content has not been modified in any way.