Learn R Programming

BSDA (version 1.01)

Vehicle: Fatality ratings for foreign and domestic vehicles

Description

Data for Exercise 8.34

Usage

Vehicle

Arguments

Format

A data frame with 2 observations on the following 6 variables.

make

a factor with levels domestic foreign

A

a numeric vector

B

a numeric vector

C

a numeric vector

D

a numeric vector

F

a numeric vector

Examples

Run this code
# NOT RUN {
str(Vehicle)
attach(Vehicle)
Vehicle
chisq.test(Vehicle[,2:6])
detach(Vehicle)
# }

Run the code above in your browser using DataLab