Append | R Documentation |
Data for Exercise 1.119
Append
A data frame/tibble with 20 observations on one variable
fees for an appendectomy for a random sample of 20 hospitals in North Carolina
North Carolina Medical Database Commission, August 1994.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
fee <- Append$fee
ll <- mean(fee) - 2*sd(fee)
ul <- mean(fee) + 2*sd(fee)
limits <-c(ll, ul)
limits
fee[fee < ll | fee > ul]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.