On Jan 4, 2010, at 3:13 PM, John Westbury wrote:

Hello,

I am new to R and have two easy questions.

How can you plot multiple density functions in one graph? I have five beta densities that I would like to plot in one graph. I understand how to plot
one beta density as a line:

plot (x,(dbeta(x,shape1=,shape2=,), type ="l")

?lines

Does the Pareto distribution need to be added to R with an additional
package?

Sort answer, yes:

I see it in the actuar and the VGAM packages that I have installed, but a more complete list of options would be from this search:

RSiteSearch("Pareto")
David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@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.

Reply via email to