Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0304111817330.25359-100000@gannet.stats>
Date: 2003-04-11T17:20:27Z
From: Brian Ripley
Subject: Do you know how to plot a PDF function?
In-Reply-To: <001301c3004c$75a3a800$8bd75ba5@IE.TAMU.EDU>

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