[R] densityplot and histogram

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Oct 20 08:31:27 CEST 2004

See the arguments for print.trellis, especially 'split' and 'more'.

On Tue, 19 Oct 2004, Jean Eid wrote:

> Is there any function like par(new=T) for lattice. I want to plot a
> histogram in percentages on the right hand side and also superimpose the
> densityplot with its density scale on the lhs.


Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list