[R] row sum with all absence in a presence-absence matrix

2013-10-08 Thread Elaine Kuo
Dear list I have a matrix composed of islandID as rows and speciesID as columns. IslandID: Island A, B, C….O (15 islands in total) SpeciesID: D0001, D0002, D0003….D0100 (100 species in total) The cell of the matrix describes presence (1) or absence (0) of the species in an island. Now I

Re: [R] row sum with all absence in a presence-absence matrix

2013-10-08 Thread Jim Lemon
On 10/08/2013 10:21 PM, Elaine Kuo wrote: Dear list I have a matrix composed of islandID as rows and speciesID as columns. IslandID: Island A, B, C….O (15 islands in total) SpeciesID: D0001, D0002, D0003….D0100 (100 species in total) The cell of the matrix describes presence (1) or

Re: [R] row sum with all absence in a presence-absence matrix

2013-10-08 Thread arun
-help@r-project.org r-help@r-project.org Cc: Sent: Tuesday, October 8, 2013 7:21 AM Subject: [R] row sum with all absence in a presence-absence matrix Dear list I have a matrix composed of islandID as rows and speciesID as columns. IslandID: Island A, B, C….O (15 islands in total) SpeciesID