Lattice is a relatively low level package for plotting in R. It is very powerful, but often requires a lot of tweaking to get the results just right. Many recent packages ([wiki:HlpLab/R/MCMCPackage MCMCPackage], [wiki:HlpLab/R/MCMCPackPackage MCMCPackPackage], [wiki:HlpLab/R/LME4Package LME4Package], [wiki:HlpLab/R/DesignPackage DesignPackage], etc.) build their graphics on top of Lattice.
You want to use Lattice if:
- You require exact control over all elements of your figure
- You don't mind that plotting feels like programming
- You want multiple panels in a single figure
- You are trying to modify existing code from someone else' package
The best resources for the Lattice package are the manual (http://cran.r-project.org/web/packages/lattice/lattice.pdf), a recent book by the author of the package (http://www.springer.com/978-0-387-75968-5. See AustinFrank if you want to borrow a copy), and the book's website (http://lmdvr.r-forge.r-project.org/figures/figures.html). -- AustinFrank DateTime(2008-04-30T15:34:10Z)
Local pages that have to do with Lattice: