powered by
This function is useful for use before plotting, if one wants capitalized axis labels or factor levels.
capstring(names)
A character vector with upper case initial values.
a character vector
W.J. Braun
capstring(names(tinting)[c(3,4)]) library(lattice) levels(tinting$agegp) <- capstring(levels(tinting$agegp)) xyplot(csoa ~ it | sex * agegp, data=tinting)
Run the code above in your browser using DataLab