Differences between revisions 2 and 3
Revision 2 as of 2008-05-23 14:46:21
Size: 1106
Editor: platypus
Comment: namespace cleanliness
Revision 3 as of 2008-05-23 14:53:21
Size: 1319
Editor: platypus
Comment: namespace issues
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
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 (["MCMCPackage"], ["MCMCPackPackage"], ["LME4Package"], ["DesignPackage"], etc.) build their graphics on top of Lattice. 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:Self:HlpLab/R/MCMCPackage MCMCPackage], [wiki:Self:HlpLab/R/MCMCPackPackage MCMCPackPackage], [wiki:Self:HlpLab/R/LME4Package LME4Package], [wiki:Self:HlpLab/R/DesignPackage DesignPackage], etc.) build their graphics on top of Lattice.
Line 14: Line 14:
 * ["ErrorBars"]
 * ["LatticeFormulae"]
 * ["LatticePanels"]
 * [wiki:Self:HlpLab/R/ErrorBars ErrorBars]
 * [wiki:Self:HlpLab/R/LatticeFormulae LatticeFormulae]
 * [wiki:Self:HlpLab/R/LatticePanels LatticePanels]

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:

RLatticePackage (last edited 2008-06-24 13:52:57 by colossus)

MoinMoin Appliance - Powered by TurnKey Linux