yscale.components.log10: Labels 10-logged y axes appropriately in lattice

yscale.components.log10R Documentation

Labels 10-logged y axes appropriately in lattice

Description

Labels 10-logged y axes appropriately in lattice

Usage

yscale.components.log10(lim, ...)

Arguments

lim

internal required argument.

...

passed to yscale.components.default()

Value

Nothing. It's a function to be called inside a lattice call

Note

Not to be called by user.

See Also

Other scale.components: xscale.components.log10.3(), xscale.components.log10(), yscale.components.log10.3()

Examples

set.seed(1234)
library(lattice)
datf = data.frame(DV = exp(rlnorm(1000, sdlog = 0.5)), TIME = seq(1000))

# labels at one log10 unit intervals
xyplot(DV ~ TIME
       , data = datf
       , scales = list(log = 10)
       , yscale.components = yscale.components.log10
       , xscale.components = xscale.components.log10
)

# labels at half log10 unit intervals
xyplot(DV ~ TIME
       , data = datf
       , scales = list(log = 10)
       , yscale.components = yscale.components.log10.3
       , xscale.components = xscale.components.log10.3
)

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