Learn R Programming

BSDA (version 1.01)

Appendec: Median costs of appendectomies at three different types of North Carolina hospitals

Description

Data for Exercise 10.60

Usage

Appendec

Arguments

Format

A data frame with 59 observations on the following 5 variables.

Cost

a numeric vector

Region

a numeric vector

Rural

a numeric vector

Regional

a numeric vector

Metropol

a numeric vector

Examples

Run this code
# NOT RUN {
str(Appendec)
attach(Appendec)
boxplot(Cost~Region)
anova(lm(Cost~as.factor(Region)))
detach(Appendec)
# }

Run the code above in your browser using DataLab