Learn R Programming

StepReg (version 1.6.0)

tobacco: Tobacco Leaf Chemical Composition Dataset

Description

A dataset containing chemical composition measurements from 25 tobacco leaf samples. This dataset is commonly used for demonstrating multivariate regression analysis and exploring relationships between chemical components and burn rate.

Usage

data(tobacco)

Arguments

Format

A data frame with 25 rows and 9 variables:

cigarette

Numeric. Rate of cigarette burn in inches per 1000 seconds.

sugar

Numeric. Percentage of sugar content in the leaf.

nicotine

Numeric. Percentage of nicotine content.

nitrogen

Numeric. Percentage of nitrogen content.

chlorine

Numeric. Percentage of chlorine content.

potassium

Numeric. Percentage of potassium content.

phosphorus

Numeric. Percentage of phosphorus content.

calcium

Numeric. Percentage of calcium content.

magnesium

Numeric. Percentage of magnesium content.

Details

This dataset is particularly useful for:

  • Demonstrating multivariate regression analysis

  • Studying relationships between chemical composition and burn rate

  • Analyzing correlations between different chemical components

  • Teaching statistical methods in agricultural research

Examples

Run this code
# Load the dataset
data(tobacco)

# View the first few rows
head(tobacco)

# Summary statistics
summary(tobacco)

# Correlation analysis
cor(tobacco)

Run the code above in your browser using DataLab