search for: sparsetab

Displaying 1 result from an estimated 1 matches for "sparsetab".

Did you mean: sparsemat
2008 Feb 06
3
counting row repetitions without loop
Hi, I have a data frame consisting of coordinates on a 10*10 grid, i.e. > example x y 1 4 5 2 6 7 3 6 6 4 7 5 5 5 7 6 6 7 7 4 5 8 6 7 9 7 6 10 5 6 What I would like to do is return an 10*10 matrix consisting of counts at each position, so in the above example I would have a matrix where, for example, cell [4,5] contains 2 and [6,7] contains 3. At the