Learn R Programming

BSDA (version 1.2.0)

Vehicle: Fatality ratings for foreign and domestic vehicles

Description

Data for Exercise 8.34

Usage

Vehicle

Arguments

Format

A data frame/tibble with 151 observations on two variables

make

a factor with levels domestic and foreign

rating

a factor with levels Much better than average, Above average, Average, Below average, and Much worse than average

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
T1 <- xtabs(~make + rating, data = Vehicle)
T1
chisq.test(T1)

# }

Run the code above in your browser using DataLab