> I'd like to avoid looping through an array in order to change values in
> the array as it takes too long.
> I red from an earlier post it can be done by "do.call" but never got it
> to work. The Idea is to change the value of "y" according to values in
> "x". Wherever "x" holds the value 3, the c
On Mon, Oct 20, 2008 at 03:07:45PM +0200, Kåre Edvardsen wrote:
> I'd like to avoid looping through an array in order to change values in
> the array as it takes too long.
> I red from an earlier post it can be done by "do.call" but never got it
> to work. The Idea is to change the value of "y" ac
y <- ifelse(x == 3, 1, y)
-Kaom
On Oct 20, 2008, at 6:07 AM, Kåre Edvardsen wrote:
I'd like to avoid looping through an array in order to change values
in
the array as it takes too long.
I red from an earlier post it can be done by "do.call" but never got
it
to work. The Idea is to change
I'd like to avoid looping through an array in order to change values in
the array as it takes too long.
I red from an earlier post it can be done by "do.call" but never got it
to work. The Idea is to change the value of "y" according to values in
"x". Wherever "x" holds the value 3, the correspondi
4 matches
Mail list logo