[R] question about sm.density

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 28 07:46:13 CEST 2005


On Thu, 27 Oct 2005, Cunningham Kerry wrote:

> How can I draw a 95% contour in sm.density?
>
> For example,
>
> y <- cbind(rnorm(50), rnorm(50))
>     sm.density(y, display = "slice")
>
> will give 25%, 50% and 75% contours automatically, but
> no reference on other values.

See ?sm.options, the place to set such options.

-- 
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