Tag Archives: Box Plot

The ingenious box plot

library(vcd)
class(Arthritis)
## [1] "data.frame"
head(Arthritis)
##   ID Treatment  Sex Age Improved
## 1 57   Treated Male  27     Some
## 2 46   Treated Male  29     None
## 3 77   Treated Male  30     None
## 4 17   Treated Male  32   Marked
## 5 36   Treated Male  46   Marked
## 6 23   Treated Male  58   Marked
boxplot(Age ~ Improved, data=Arthritis, ylab="Age", xlab="Improved")

plot of chunk unnamed-chunk-3