Displaying 1 result from an estimated 1 matches for "21000x100".
2004 Nov 05
3
Resources for optimizing code
I want to eliminate certain observations in a large dataframe (21000x100).
I have written code which does this using a binary vector (0=delete obs,
1=keep), but it uses for loops, and so it's slow and in the extreme it
causes R to hang for indefinite time periods.
I'm looking for one of two things:
1. A document which discusses how to avoid for loops and situ...