Modifies trellis objects by adding horizontal and/or vertical reference lines or shaded regions that provide visual scaling information. This is mostly useful in multi-panel plots that use the relation = 'free' option in their 'scales' argument list.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
Trellised displays are powerful tools for exploring and comparing data. However, one challenge is how to handle plots in which the data in different panels have different locations and, more importantly, different scales/variability. Different locations can be dealt with via the relation = "sliced"
option in lattice functions' scales
argument. But different scaling sometimes causes plot details in panels with relatively little variability to
be obscured because the data are “squashed” to accommodate the limits needed to show more variable data in others.
The addScales
function unsquashes such data by varying the panel limits
so that each panel fits just its data. This can easily be done by
using the relation = "free"
option in the scales
argument. Unfortunately, with more then just a few panels, the separate axis scales for the different panels takes up too much display space and are difficult to read.
addScales
addresses this problem by layering minimal location/scale information directly onto the panels. The intent is to save axis space without obscuring the panel data, but still allow the viewer to decode the information to compare the panels.
A simple API facilitates this task. In addition to the main addScales
functions, a generic with an addScales.trellis
method, there is an update
method to allow the user to easily experiment with and customize the display. A few other functions provide some additional flexibility. Users
desiring other capabilities should contact the author/maintainer with their requests.
Bert Gunter
Maintainer: Bert Gunter<bgunter.4567@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.