ftccigar | R Documentation |
The Federal Trade Commission (FTC) annually ranks varieties of domestic cigarettes according to their tar, nicotine, and carbon monoxide contents. Past studies have shown that increases in tar and nicotine are accompanied by an increase in the carbon monoxide emitted from the cigarette smoke.
ftccigar
A data frame with 25 observations (rows) and 4 variables (columns).
Column name | Data type | Description | Values | |
[,1] | tar | numeric | The tar content | (1 - 29.8) |
[,2] | nicotine | numeric | The nicotine content | (0.13 - 2.03) |
[,3] | weight | numeric | Weight in grams | (0.7851 - 1.165) |
[,4] | carbonM | numeric | CO in milligrams | (1.5 - 23.5) |
The data is from Example 7.5 in A second course in statistics: Regression Analysis, 7th edition.
Mendenhall, W., Sincich, T. (2012) A second course in statistics: Regression Analysis, 7th edition.. Pearson Education.
# Selected rows from the data frame
ftccigar[c(4, 8, 12, 16, 20), ]
# Scatterplot matrix
pairs(ftccigar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.