View source: R/xscale.components.log10.r
xscale.components.log10.3 | R Documentation |
Labels 10-logged x axes appropriately in lattice (ticks at powers of 1 and 3)
xscale.components.log10.3(lim, ...)
lim |
internal required argument. |
... |
passed to xscale.components.default() |
Nothing. It's a function to be called inside a lattice call
Not to be called by user.
Other scale.components:
xscale.components.log10()
,
yscale.components.log10.3()
,
yscale.components.log10()
library(lattice)
set.seed(1234)
datf = data.frame(TIME = exp(rnorm(3000, sd = 0.6)), DV = seq(3000))
xyplot(DV ~ TIME
, data = datf
, scales = list(x = list(log = 10))
, xscale.components = xscale.components.log10.3
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.