Hey, All There are some 1-Dimensional probability density functions (PDF), e.g., f(x), g(x), etc. And I want to plot them given the range of x. So which function can I apply to achieve this? Thanks. Fred
Do you know how to plot a PDF function?
5 messages · Feng Zhang, Roger D. Peng, Jerome Asselin +1 more
?curve -roger _______________________________ UCLA Department of Statistics http://www.stat.ucla.edu/~rpeng
On Fri, 11 Apr 2003, Feng Zhang wrote:
Hey, All There are some 1-Dimensional probability density functions (PDF), e.g., f(x), g(x), etc. And I want to plot them given the range of x. So which function can I apply to achieve this? Thanks. Fred
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
One stupid question again. How to plot the Normal density function? ----- Original Message ----- From: "Roger Peng" <rpeng at stat.ucla.edu> To: "Feng Zhang" <f0z6305 at labs.tamu.edu> Cc: "R-Help" <r-help at stat.math.ethz.ch> Sent: Friday, April 11, 2003 11:57 AM Subject: Re: [R] Do you know how to plot a PDF function?
?curve -roger
_______________________________ UCLA Department of Statistics http://www.stat.ucla.edu/~rpeng On Fri, 11 Apr 2003, Feng Zhang wrote: Hey, All There are some 1-Dimensional probability density functions (PDF), e.g., f(x), g(x), etc. And I want to plot them given the range of x. So which function can I apply to achieve this? Thanks. Fred ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
See the thread on "plotting the lognormal density curve" which was posted only 2 days ago. http://maths.newcastle.edu.au/~rking/R/help/03a/3794.html Jerome
On April 11, 2003 10:04 am, Feng Zhang wrote:
One stupid question again. How to plot the Normal density function? ----- Original Message ----- From: "Roger Peng" <rpeng at stat.ucla.edu> To: "Feng Zhang" <f0z6305 at labs.tamu.edu> Cc: "R-Help" <r-help at stat.math.ethz.ch> Sent: Friday, April 11, 2003 11:57 AM Subject: Re: [R] Do you know how to plot a PDF function?
?curve -roger
_______________________________ UCLA Department of Statistics http://www.stat.ucla.edu/~rpeng On Fri, 11 Apr 2003, Feng Zhang wrote: Hey, All There are some 1-Dimensional probability density functions (PDF), e.g., f(x), g(x), etc. And I want to plot them given the range of x. So which function can I apply to achieve this? Thanks. Fred ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
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