search for: ensurenn

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

Did you mean: ensure
2010 Jul 19
3
Indexing by logical vectors
Dear R-Listers, My question concerns indexing vectors by logical vectors that are based on the original vector. Consider the following simple example to hopefully make clear what I mean: a <- rnorm(10) a[a<0] <- NA However, I am now working with multiple data frames that I received, where each of them has nicely descriptive, yet long names(). In my scripts there are many instances