"Emre Unal" <[EMAIL PROTECTED]> wrote in 
news:[EMAIL PROTECTED]:

> Hi,
> 
> How can I overlap two density plots?
> 
> 
> A <- c(8,10,10,11,11,11,12,12,12,12,11,11,11,10,10,7)
> B <- c(11,13,13,14,14,14,15,15,15,15,14,14,14,13,13,10)
> 
> plot(density(A))

Instead:
lines(density(B))

-- 
David Winsemius



> plot(density(B))
> 
> Regards,
> Emre
> 
> 
> P.S. There's a overlap.density function in package DAAG
>         Is there another way to do this?
> 
> 
> 
>

______________________________________________
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