The loa package contains various plots, options and
add-ins for use with the
|License:||GPL (>= 2)|
lattice provides an elegant and highly powerful implementation
of the Trellis plotting structure described by Cleveland and colleagues.
In particular the combination of
panel... functions, which can be
layered within plots to generate novel visualisations, and simple-to-use
conditioning make it a hugely effective tool when working with data.
loa package contains a number of plot functions developed to make
use of this framework. These are summarized in section 1 of this manual, and include:
loaPlot for various XYZ plots.
GoogleMap and associated geoplotting functions.
trianglePlot and associated functions.
stackPlot and associated functions.
panel... functions and example data are summarized in sections 2 and
2.1. Specialist panels, e.g.
2.2. Specialist panels for polar plotting, e.g.
3.1. Example data, e.g.
While such 'stand alone' plot functions are of obvious value, the code framework is of possibly wider interest because it provides a template for the rapid third-party development of novel visualization functions and a highly flexible 'test bed' for the comparison of different data handling strategies.
Therefore, the functions in this package have been written in a relatively dissaggregated
fashion so code can be easily rearranged or modified by others to quickly develop
alternative plots within the
lattice framework. Firstly, plot functions
in section 1 have where possible been supplied as main plot functions and plot component
functions that handle data, axes, panels, etc. Secondly, the workhorse functions, those common
functions used through-out the package to simplify many routine operations have been grouped
together and summarized in section 4:
4.2. plot structure handlers:
4.3. Plot lim(s) and scale(s) handlers:
4.4. Plot conditioning handlers:
4.5. Common plot argument handlers:
4.6. Key handlers:
4.7. Other panel functions:
4.8. List handlers:
And, finally, functions used for working with data post-plotting, are summarized in section 5:
5.1. Interactive functions for working with plot outputs:
This package is very much intended to be an evolutionary exercise. I use it on a routine basis to develop plots for use elsewhere and compare data visualization methods. However, that working pattern can generate some very 'developer-centric' code. So, I would be very pleased to hear from others - what they did and did not like about the package; what they would have liked to have been different; and, perhaps most interesting for me what they are using it to do.
Karl Ropkins <email@example.com>
loa make extensive use of code developed by others.
In particular, I gratefully acknowledge the huge contributions of:
lattice: Sarkar, Deepayan (2008) Lattice: Multivariate Data Visualization with R. Springer, New York. ISBN 978-0-387-75968-5
Trellis Plotting: Becker, R. A., Cleveland, W. S., Shyu, M. J. (1996). The Visual Design and Control of Trellis Display, Journal of Computational and Graphical Statistics, 5(2), 123-155. Cleveland, W.S. (1993) Visualizing Data, Hobart Press, Summit, New Jersey.