## Make test data available
data(kola.o)
attach(kola.o)
## Display a simple boxplot
bxplot(Cu)
## Display a more appropriately labelled and scaled boxplot
bxplot(Cu, xlab = "Cu (mg/kg) in <2 mm O-horizon soil", log = TRUE)
## Display a box-and-whisker plot with whiskers ending at the 2nd and
## 98th percentiles
bxplot(Cu, xlab = "Cu (mg/kg) in <2 mm O-horizon soil", ifbw = TRUE,
wend = 0.02, log = TRUE)
## Detach test data
detach(kola.o)
Run the code above in your browser using DataLab