search for: umca

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

Did you mean: mca
2010 Jun 13
5
Count of unique factors within another factor
...unit species 1 123 ACMA 2 123 LIDE 3 123 LIDE 4 123 SESE 5 123 SESE 6 123 SESE 7 345 HEAR 8 345 LOHI 9 345 QUAG 10 345 TODI?.. > sr.unique<- lapply (data, unique) $unit [1] 123 345 216 $species [1] ACMA LIDE SESE HEAR LOHI QUAG TODI UMCA ARSP LIDE > sapply (sr.unique,length) unit species 3 10 Then, I get stuck here because this unique species count is not given for each ?unit?. What I'd like to get is: unit species 123 3 345 4 216 -- Thanks-- -- View this message in context: http://r.789695.n...