Skip to content
Prev 164978 / 398503 Next

Check if data frame column is numeric

On Tue, 16 Dec 2008 16:25:07 +0100, Mark Heckmann <mark.heckmann at gmx.de> wrote:

            
colwise(), numcolwise() and catcolwise() in plyr package  turn a function that operates on vectors into one that operates on columns of data frame:

in your case it would be :

numcolwise(your.fun)(your.data.frame)

Vitalie.