Last data update: 2014.03.03
|
R: smokers sample data
smokers sample data
Description
This is merely a sample dataframe to allow users to experiment with summarytools. A French equivalent called 'fumeurs' is also available.
Usage
data("smokers")
Format
A data frame with 300 observations on the following 5 variables.
gender Factor with 2 levels, 'F' and 'M'
age Factor with 5 levels (age group categories)
smoker Factor with 2 levels (smoking status)
diseased Factor with 2 levels, 'diseased' and 'healthy'
bmi Numerical vector (Body Mass Index)
Examples
data(smokers)
freq(smokers$gender)
Results
|