View source: R/set.trellis.colors.r
set.trellis.colors | R Documentation |
when called before a lattice call, the strip panels will be set in grayscales
set.trellis.colors(
symbol = list(fill = gray[2], col = gray[6]),
line = list(col = gray[7])
)
symbol |
a list with colors for the strips |
line |
a list with col(or) specified |
Lattice panel output (invisible)
library(lattice)
df = example.pkpdData()
xyplot(value~ time | format(dose) * type, data = df)
set.trellis.colors ()
xyplot(value~ time | format(dose), data = df, groups = type)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.