Skip to content
Prev 175245 / 398506 Next

add variable in for loop

Hi Paul,

you do *not* want to do this, it takes too long and may lead to rounding 
errors. Vectorize everything, e.g., use sum(meanrotation). And look into 
?apply, and google for the "R Inferno".

And no, there is no "+="...

Good luck!
Stephan

pgseye schrieb: