Learn R Programming

BSDA (version 1.01)

Append: Median costs of an appendectomy at 20 hospitals in North Carolina

Description

Data for Exercise 1.119

Usage

Append

Arguments

Format

A data frame with 20 observations on the following variable.

fee

a numeric vector

Examples

Run this code
# NOT RUN {
str(Append)
attach(Append)
ll <- mean(fee)-2*sd(fee)
ul <- mean(fee)+2*sd(fee)
limits <-c(ll,ul)
limits
fee[fee<ll | fee>ul]
detach(Append)
# }

Run the code above in your browser using DataLab