?lines ?points
--- On Mon, 1/4/10, John Westbury <jrwestb...@gmail.com> wrote: > From: John Westbury <jrwestb...@gmail.com> > Subject: [R] how to plot multiple density functions in one graph > To: r-help@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/ ______________________________________________ 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.