exercise_6.7: Data Set for Exercise 6.7

exercise_6.7R Documentation

Data Set for Exercise 6.7

Description

Data set for Exercise 6.7.

Usage

data(exercise_6.7)

Format

A data frame containing 168 observations (rows) and the following columns:

Gender
Age
Race
Satisfaction
Region
counts

Source

https://users.stat.ufl.edu/~aa/cda/data.html

References

Agresti, A. (2013) Categorical Data Analysis, Third Edition. Hoboken, NJ: John Wiley & Sons. ISBN: 978-0-470-46363-5.

Examples

# in the source was a table rather than a data frame
# to convert to a table do
data(exercise_6.7)
exercise_6.7_as_table <- xtabs(counts ~ ., data = exercise_6.7)
## Not run: exercise_6.7_as_table

CatDataAnalysis documentation built on June 28, 2022, 1:06 a.m.