Am 23.Sep.2010 um 18:27 schrieb Ralf B:
> I wonder what the best way is to access those values. I am using the
> following code:
>
> x1 <- c(1,2,1,3,5,6,6,7,7,8)
> x2 <- c(1,2,1,3,5,6,5,3,8,7)
> d1 <- density(x1, na.rm = TRUE)
> d2 <- density(x2, na.rm = TRUE)
> plot(d1, lwd=3, main="bla")
> lin
f B
>> Sent: Thursday, 23 September 2010 8:55 a.m.
>> To: r-help Mailing List
>> Subject: [R] Determine area between two density plots
>>
>> Hi group,
>>
>> I am creating two density plots as shown in the code below:
>>
>> x1 <- c(1,4,5,3,2,
To: r-help Mailing List
> Subject: [R] Determine area between two density plots
>
> Hi group,
>
> I am creating two density plots as shown in the code below:
>
> x1 <- c(1,4,5,3,2,3,4,5,6,5,4,3,2,1,1,1,2,3)
> x2 <- c(1,4,5,3,5,7,4,5,6,1,1,1,2,1,1,1,2,3)
> plo
On Sep 22, 2010, at 4:54 PM, Ralf B wrote:
Hi group,
I am creating two density plots as shown in the code below:
x1 <- c(1,4,5,3,2,3,4,5,6,5,4,3,2,1,1,1,2,3)
x2 <- c(1,4,5,3,5,7,4,5,6,1,1,1,2,1,1,1,2,3)
plot(density(x1, na.rm = TRUE))
polygon(density(x2, na.rm = TRUE), border="blue")
How can
Hi group,
I am creating two density plots as shown in the code below:
x1 <- c(1,4,5,3,2,3,4,5,6,5,4,3,2,1,1,1,2,3)
x2 <- c(1,4,5,3,5,7,4,5,6,1,1,1,2,1,1,1,2,3)
plot(density(x1, na.rm = TRUE))
polygon(density(x2, na.rm = TRUE), border="blue")
How can I determine the area that is covered between t
5 matches
Mail list logo