[R] Do you know how to plot a PDF function?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Apr 11 19:20:27 CEST 2003
On Fri, 11 Apr 2003, Feng Zhang wrote:
> One stupid question again.
> How to plot the Normal density function?
plot(dnorm, -4, 4)
using plot.function, or use curve directly.
BTW, `PDF function' is tautology.
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