Download Unix User Guide

Transcript
SCALES AND LABELS
> levels(barley$site)
[1] "Grand Rapids" "Duluth" "U. Farm"
[4] "Morris" "Crookston" "Waseca"
par.strip.text
Argument
The size, font, and color of the text in the strip labels can be changed by the
argument par.strip.text, a list whose components are the parameters cex
for size, font for the font, and col for the color. For example, we can make
huge strip labels by
par.strip.text=list(cex=2)
strip Argument
The argument strip allows very delicate control of what is put in the strip
labels. One usage is to remove the strip labels altogether:
strip=F
Another is to control the inclusion of names of conditioning variables in strip
labels.
> dotplot(variety~yield|year*site,data=barley,
+
strip=function(...)
+
strip.default(...,strip.names=c(T,T)))
The argument strip.names takes a logical vector of length two. The first
element tells whether or not the names of factors should be included along
with the names of the levels of the factor, and the second element tells
whether or not the names of shingles should be included. The default is
c(F,T).
245