[R] Linked count between matrix columns

Guillaume Chapron carnivorescience at gmail.com
Thu Jan 15 14:10:10 CET 2009


> Because we want the values in table(x[,2]) where the **names** are  
> as.character(x[,1][x[,1] > 0])], not the positions x[,1][x[,1] > 0])].

Thanks!




More information about the R-help mailing list