Skip to content
Prev 164931 / 398503 Next

Check if data frame column is numeric

... and an addendum

Hadley Wickham's plyR package attempts to redress these (nevertheless
documented) apparent inconsistencies in the *apply family of functions by
handling everything in a more consistent intuitive manner. You may wish to
use those instead of the base R *apply functions.

-- Bert Gunter
Genentech



-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Henrique Dallazuanna
Sent: Tuesday, December 16, 2008 9:32 AM
To: Mark Heckmann
Cc: r-help at r-project.org
Subject: Re: [R] Check if data frame column is numeric

Try:

sapply(df, is.numeric)
On Tue, Dec 16, 2008 at 1:25 PM, Mark Heckmann <mark.heckmann at gmx.de> wrote:

            
the