Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

xpose.yscale.components.log10

Functions to create nice looking axes when using Log scales.


Description

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

Usage

xpose.logTicks(lim, loc = c(1, 5))

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

xpose.xscale.components.log10(lim, ...)

Arguments

lim

Limits

loc

Locations

...

Additional arguments passed 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.

Functions

  • xpose.logTicks: Make log tic marks

  • xpose.xscale.components.log10: Make log scale on x-axis

Author(s)

Andrew Hooker

See Also

Examples

## Not run: 
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

## End(Not run)

xpose4

Diagnostics for Nonlinear Mixed-Effect Models

v4.7.1
LGPL (>= 3)
Authors
Andrew C. Hooker [aut, cre, cph], Mats O. Karlsson [aut, cph], Justin J. Wilkins [aut], E. Niclas Jonsson [aut, trl, cph], Ron Keizer [ctb] (functionality for bootstrap of GAM and SCM)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.