Lattice               package:lattice               R Documentation

_L_a_t_t_i_c_e _G_r_a_p_h_i_c_s

_D_e_s_c_r_i_p_t_i_o_n:

     Implementation of Trellis Graphics in R

_D_e_t_a_i_l_s:

     Trellis Graphics is a framework for data visualization developed
     at the Bell Labs by Rick Becker, Bill Cleveland et al, extending
     ideas presented in Bill Cleveland's 1993 book _Visualizing Data_.

     Lattice is best thought of as an implementation of Trellis
     Graphics for R. Its interface is based on the implementation in
     S-Plus, but there are several differences. To the extent possible,
     care has been taken to ensure that existing Trellis code written
     for S-Plus works unchanged (or with minimal change) in Lattice. If
     you are having problems porting S-Plus code, read the entry for
     'panel' in the documentation for 'xyplot' (and perhaps the Lattice
     website referenced below).

     Most high level Trellis functions in S-Plus are implemented, with
     the exception of 'piechart' (also, 'wireframe' is still quite
     slow).

     Lattice is built upon the Grid Graphics engine for R being
     developed by Paul Murrell and requires the 'grid' add-on package.

     Type 'library(help = lattice)' to see a list of (public) Lattice
     graphics functions for which further documentation is available.
     Apart from the documentation accompanying this package,  several
     documents outlining the use of Trellis graphics is available from
     Bell Lab's website that might provide a holistic introduction to
     the Trellis paradigm. Lattice also has a website with some tips.

_N_o_t_e:

     High level Lattice functions (like 'xyplot') are different from
     conventional S graphics functions because they don't actually draw
     anything. Instead, they return an object of class ``trellis''
     which has to be then 'print'ed. This often causes confusion when
     the high level functions are called inside another function (most
     often 'source') and hence don't produce any output.

_A_u_t_h_o_r(_s):

     Deepayan Sarkar deepayan@stat.wisc.edu

_R_e_f_e_r_e_n_c_e_s:

     Bell Lab's Trellis Page: <URL:
     http://cm.bell-labs.com/cm/ms/departments/sia/project/trellis/>

     Cleveland, W.S. (1993) _Visualizing Data_.

     Becker, R.A., Cleveland, W.S. and Shyu, M. ``The Visual Design and
     Control of Trellis Display'', _Journal of Computational and
     Graphical Statistics_

     Lattice Webpage: <URL: http://packages.r-project.org/lattice/>

_S_e_e _A_l_s_o:

     To get a general idea of what arguments are generally accepted by
     Lattice functions, see 'xyplot'.

     To learn how to customise the Graphical parameters used by the
     Lattice functions, see 'lattice.theme' and 'lset'.

     To learn how to initialise new devices or change the settings of
     the current device, see 'trellis.device'

     To learn about sophisticated (non-default) printing capabilities,
     see 'print.trellis'.

     Here is a list of `high level' functions in the Lattice library
     with a brief description of what they do:

     *Univariate:*  

     'barchart' bar plots

     'bwplot' box and whisker plots

     'densityplot' kernel density plots  

     'dotplot' dot plots

     'histogram' histograms

     'qqmath' quantile plots against mathematical distributions

     'stripplot' 1-dimensional scatterplot

     *Bivariate:*

     'qq' q-q plot for comparing two distributions

     'xyplot' scatter plot (and possibly a lot more)

     *Trivariate:*

     'levelplot' level plots (image plots in R)

     *Hypervariate:*

     'splom' scatterplot matrix

     'parallel' parallel coordinate plots

     *Miscellaneous:*

     'rfs' residual and fitted value plot (also see 'oneway')

     See 'llines' if you need to write/port nontrivial panel functions.

