Displaying 1 result from an estimated 1 matches for "sp50".
Did you mean:
p50
2012 Mar 30
1
removing NA from multidmension arrays
...operly subscripting a function to remove
complete NA rows from a R array object. Could someone please suggest how
best
to script this out?
Data structure:
X is an array with 3 dimensions (replicates, Species, Sites)
replicates: 1 to 6 but ragged...not all sites equal
,,Site1
Sp1 Sp2 Sp3... Sp50
1 5 4 3 2
2 3 0 0 1
3 NA NA NA NA
4 NA NA NA NA
5 NA NA NA NA
6 NA NA NA NA
,,Site2
Sp1 Sp2 Sp3... Sp50
1 5 4 3 2
2 3 0 0 1
3 1 1 0 0
4 NA NA NA NA
5 NA NA NA NA
6 NA NA NA NA
,,Site3
Sp1 Sp2 Sp3... Sp50
1 5 4 3 2
2 3 0 0 1
3 1 1 0 0
4 5 4 3 2
5 3 0 0 1
6 1 1 0 0
Most ap...