exercise_8.18 {CatDataAnalysis}R Documentation

Data for Exercise 8.18 on Dumping Severity

Description

Data for Exercise 8.18 on dumping severity.

Usage

data(exercise_8.18)

Format

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

Dumping_severity
Hospital
Operation
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_8.18)
exercise_8.18_as_table <- xtabs(counts ~ ., data = exercise_8.18)
## Not run: exercise_8.18_as_table

[Package CatDataAnalysis version 0.1-5 Index]