search for: o100

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

Did you mean: 100
2002 Jun 20
4
how to skip NA columns ?
R-helpers! na.omit() can be used to remove rows with NA's but how can I remove columns ? and remember, which columns have been removed ? I guess I can do t(na.omit(t(o))) as shown below, but this probably creates a lot of overhead and I do not know which columns have been removed. Yours, R > o [,1] [,2] [,3] [1,] 1 NA 7 [2,] 2 NA 8 [3,] 3 NA 9 >