[R] histogram

Paul Hiemstra p.hiemstra at geo.uu.nl
Thu Apr 15 09:41:48 CEST 2010


Santosh wrote:
> Dear R gurus...
>
> How do I control "smoothing" of a density plot in panel.densityplot when
> using histogram?
>
> Thanks much,
> Santosh
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>   
Hi,

 From ?panel.densityplot, argument darg, I was referred to ?density. I 
think the 'bw' argument is what you need. Pass it to panel.densityplot 
in the darg argument.

cheers,
Paul

-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-help mailing list