[R] extracting columns with NA's

Adaikalavan RAMASAMY ramasamya at gis.a-star.edu.sg
Fri Sep 19 13:00:01 CEST 2003


out <- which( colMeans( is.na( xxx ) ) == 1 )
newdata <- xxx[ , -out ]




More information about the R-help mailing list