Skip to content
Back to formatted view

Raw Message

Message-ID: <A4F9B98C99D.0000036Ajrkrideau@inbox.com>
Date: 2013-02-16T19:26:33Z
From: John Kane
Subject: Extracting Numeric Columns from Data Fram
In-Reply-To: <1361038535.41276.YahooMailNeo@web163005.mail.bf1.yahoo.com>

http://stackoverflow.com/questions/5863097/selecting-only-numeric-columns-from-a-data-frame

John Kane
Kingston ON Canada


> -----Original Message-----
> From: bdecicco2001 at yahoo.com
> Sent: Sat, 16 Feb 2013 10:15:35 -0800 (PST)
> To: r-help at r-project.org
> Subject: [R] Extracting Numeric Columns from Data Fram
> 
> Hello,
> 
> I've got a data frame with a mix of numeric, integer and factor columns.
> I'd like to pull out (or just operate only on) the numeric/integer
> columns.
> Every thing I've found in searches is about how to subset by rows,
> or how to operate assuming you have the column names.  I'd like to pull
> by type.
> 
> Thanks!
> 
> Barry
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!