, 2012 1:05 PM
To: Reith, William [USA]
Subject: Re: [External] Re: [R] Speeding up a loop
Hello,
But that's the negation of '', so try to negate '=', meaning, remove the
equal signs. Sorry if I wasn't very clear.
Rui Barradas
Em 23-07-2012 17:44, Reith, William [USA] escreveu:
This is what I have
| x[i, 2] = a2 | x[i, 3] = a3 | x[i,
4]= a4
if(all(yes)) keep(i, e)
}
-Original Message-
From: Rui Barradas [mailto:ruipbarra...@sapo.pt]
Sent: Monday, July 23, 2012 12:14 PM
To: Reith, William [USA]
Cc: r-help
Subject: [External] Re: [R] Speeding up a loop
Hello,
I think
-2012 18:18, Reith, William [USA] escreveu:
It looks like both ways produce the same result.
-Original Message-
From: Rui Barradas [mailto:ruipbarra...@sapo.pt]
Sent: Monday, July 23, 2012 1:05 PM
To: Reith, William [USA]
Subject: Re: [External] Re: [R] Speeding up a loop
Hello,
But that's
...@bah.com
Cc: r-help@r-project.org r-help@r-project.org
Subject: [External] Re: [R] Speeding up a loop
Date: Fri, Jul 20, 2012 10:05 am
I've had to do something similar, so I wrote a small function to help.
This runs in about 1/4 the time of your code on my machine.
Others may have a more
4 matches
Mail list logo