View source: R/show-trellis-symbols-function.R
show.trellis.symbols | R Documentation |
Show the various colors and symbols in Trellis based on integer index as given in palette().
show.trellis.symbols(palette(),"default palette")
col.pal |
is the pallette Such as: palette(cm.colors(10)) palette(heat.colors(11)) palette(terrain.colors(12)) palette(topo.colors(12)) palette("default")) |
txt |
is the title of the plot |
pch |
is a vector of symbols to be used |
cex |
is the relative size of the symbols |
plt A Lattice plot showing the colors
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.