Learn R Programming

BSDA (version 1.2.2)

Censored: Entry age and survival time of patients with small cell lung cancer under two different treatments

Description

Data for Exercises 7.34 and 7.48

Usage

Censored

Arguments

Format

A data frame/tibble with 121 observations on three variables

survival

survival time (in days) of patients with small cell lung cancer

treatment

a factor with levels armA and armB indicating the treatment a patient received

age

the age of the patient

References

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

Examples

Run this code

boxplot(survival ~ treatment, data = Censored, col = "yellow")
wilcox.test(survival ~ treatment, data = Censored, alternative = "greater")

Run the code above in your browser using DataLab