Cancer | R Documentation |
Data for Exercises 6.55 and 6.64
Cancer
A data frame/tibble with 64 observations on two variables
survival time (in days) of terminal patients treated with vitamin C
a factor indicating type of cancer with levels
breast
, bronchus
, colon
, ovary
, and
stomach
Cameron, E and Pauling, L. 1978. “Supplemental Ascorbate in the Supportive Treatment of Cancer.” Proceedings of the National Academy of Science, 75, 4538-4542.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(survival ~ type, Cancer, col = "blue")
stomach <- Cancer$survival[Cancer$type == "stomach"]
bronchus <- Cancer$survival[Cancer$type == "bronchus"]
boxplot(stomach, ylab = "Days")
SIGN.test(stomach, md = 100, alternative = "greater")
SIGN.test(bronchus, md = 100, alternative = "greater")
rm(bronchus, stomach)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.