Skip to content
Prev 206643 / 398503 Next

Help using Cast (Text) Version

On Jan 18, 2010, at 8:53 AM, David Winsemius wrote:

            
Ooops, forgot the negation operator to turn not(NA) into TRUE:

 > apply(b[,-1], 2, function(x) sum(!is.na(x) ) )
[1] 40 51 51 54 58 57
David Winsemius, MD
Heritage Laboratories
West Hartford, CT