capstring | R Documentation |
This function is useful for use before plotting, if one wants capitalized axis labels or factor levels.
capstring(names)
names |
a character vector |
A character vector with upper case initial values.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.