Learn R Programming

BSDA (version 1.2.2)

Funeral: Cost of funeral by region of country

Description

Data for Exercise 8.54

Usage

Funeral

Arguments

Format

A data frame/tibble with 400 observations on two variables

region

a factor with levels Central, East, South, and West

cost

a factor with levels less than expected, about what expected, and more than expected

References

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

Examples

Run this code

T1 <- xtabs(~region + cost, data = Funeral)
T1
chisq.test(T1)  
rm(T1)

Run the code above in your browser using DataLab