[R] multiple density function

Anupam Tyagi AnupTyagi at yahoo.com
Tue Sep 19 16:44:23 CEST 2006

march <marcella.marinelli <at> uniroma1.it> writes:

> Hi everybody
> I'm new in R so the question will be easy for you
> I'm running multiple density functions taking account of the following
> conditions:
> mean=seq(10,1,length=10)        
> var=seq(3,1,length=10)
> How can I describe the density functions on the same chart?
> thanks
> Marcella

Hi Marcella, I am not sure of what you are specifically trying to do, but if you
want more than one set of points on the same graph (chart) use "points" after
"plot". See examples in the graphics part of R documentation.

> plot(...)
> points(...)

More information about the R-help mailing list