go through R intro document (chapter 2 and chapter 9).
You probably could find answer yourself quicker then waiting for me to answer
it.
Regards
Petr
From: staysafe23 [mailto:staysaf...@gmail.com]
Sent: Thursday, February 07, 2013 9:09 PM
To: PIKAL Petr
Subject: RE: [R] Nested loop and output help
ch cycle you assign whole
vector oo1 to dev1.
Is it intended?
Regards
Petr
From: staysafe23 [mailto:staysaf...@gmail.com]
Sent: Friday, February 01, 2013 10:12 PM
To: PIKAL Petr
Cc: r-help@r-project.org
Subject: RE: [R] Nested loop and output help
Thank you very much Petr,
I believe I have fixed m
cor(X2,Y2)
>
> lll[["mat2"]] <-cbind(X2,Y2)
>
> a11 <- ifelse( X < lll[["cut1"]] & Y < lll[["cut2"]], 1, 0)
>
> a12 <- ifelse( X < lll[["cut1"]] & Y >= lll[["cut2"]], 1, 0)
>
> a21 <- ifelse
t;cut1"]] & Y >= lll[["cut2"]], 1, 0)
a21 <- ifelse( X >= lll[["cut1"]] & Y < lll[["cut2"]], 1, 0)
a22 <- ifelse( X >= lll[["cut1"]] & Y >= lll[["cut2"]], 1, 0)
lll[["mat3"]] <-matrix(c(sum(a11),sum
Hi
see inline
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of staysafe23
> Sent: Friday, February 01, 2013 1:01 AM
> To: r-help@r-project.org
> Subject: [R] Nested loop and output help
>
> Hello E
5 matches
Mail list logo