how to plot multiple density functions in one graph
?lines ?points
--- On Mon, 1/4/10, John Westbury <jrwestbury at gmail.com> wrote:
From: John Westbury <jrwestbury at gmail.com> Subject: [R] how to plot multiple density functions in one graph To: r-help at r-project.org Received: Monday, January 4, 2010, 3:13 PM 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 und ParetoAdventures of Dunsterforceerstand how to plot one beta density as a line: plot (x,(dbeta(x,shape1=,shape2=,), type ="l") Does the distribution need to be added to R with an additional package?
Maybe. Have look at http://finzi.psych.upenn.edu/R/library/PtProcess/html/dpareto.html for one possible source. __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/