Skip to content
Prev 172018 / 398503 Next

Making tapply code more efficient

On something the size of your data it took about 30 seconds to
determine the number of unique teachers per student.
user  system elapsed
   0.92    0.01    0.94
$`1`
[1] 16

$`2`
[1] 3

$`3`
[1] 1

$`4`
[1] 17

$`6`
[1]  9  9 19

$`7`
[1] 20

$`9`
[1]  3 16 16 10  8 17
user  system elapsed
  20.17    0.10   20.26
1  2  3  4  6  7  9 10 11 12
 1  1  1  1  2  1  5  1  1  1
On Fri, Feb 27, 2009 at 9:46 AM, Doran, Harold <HDoran at air.org> wrote: