Learn R Programming

BSDA (version 1.2.0)

Cancer: Survival times of terminal cancer patients treated with vitamin C

Description

Data for Exercises 6.55 and 6.64

Usage

Cancer

Arguments

Format

A data frame/tibble with 64 observations on two variables

survival

survival time (in days) of terminal patients treated with vitamin C

type

a factor indicating type of cancer with levels breast, bronchus, colon, ovary, and stomach

References

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

Examples

Run this code
# NOT RUN {
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)


# }

Run the code above in your browser using DataLab