Thanks to all who responded!

I've taken those responses, and found out what works:
myNumericColumns<-mydataframe[sapply(mydataframe, is.numeric)]

produces a subset of columns with just the numeric vectors. 


Sincerely,

Barry

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to