set.trellis.colors: Set Trellis/Lattice colors

View source: R/set.trellis.colors.r

set.trellis.colorsR Documentation

Set Trellis/Lattice colors

Description

when called before a lattice call, the strip panels will be set in grayscales

Usage

set.trellis.colors(
  symbol = list(fill = gray[2], col = gray[6]),
  line = list(col = gray[7])
)

Arguments

symbol

a list with colors for the strips

line

a list with col(or) specified

Value

Lattice panel output (invisible)

Examples

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)

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.