Learn R Programming

xpose4 (version 4.5.3)

xpose.yscale.components.log10: Functions to create nice looking axes when using Log scales.

Description

The funcions are used to create standard tic marks and axis labels when the axes are on the log scale.

Usage

xpose.yscale.components.log10(lim, ...)
xpose.xscale.components.log10(lim, ...)
xpose.logTicks(lim, loc = c(1, 5))

Arguments

lim

Limits

loc

Locations

Additional arguments pased to the function.

Details

These functions create log scales that look like they should (not the default R scales). These functions are used as input to the xscale.components argument in a lattice plot.

See Also

xpose.plot.default xscale.components

Examples

Run this code

xpdb5 <- xpose.data(5)
xpose.plot.default("PRED","DV",xpdb,logy=T,logx=T)
xpose.plot.default("PRED","DV",xpdb,logy=T,logx=T,
                   yscale.components = xpose.yscale.components.log10,
                   xscale.components = xpose.xscale.components.log10)

## both give the same result

Run the code above in your browser using DataLab