Re: [R] removing NA from multidmension arrays

2012-03-30 Thread Peter Ehlers
On 2012-03-30 10:15, Rui Barradas wrote: Hello, Bcampbell99 wrote Hi: I'm having some difficulty properly 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 (re

Re: [R] removing NA from multidmension arrays

2012-03-30 Thread Rui Barradas
Hello, Bcampbell99 wrote > > Hi: > > I'm having some difficulty properly 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, Si

[R] removing NA from multidmension arrays

2012-03-30 Thread Bcampbell99
Hi: I'm having some difficulty properly 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