Check if data frame column is numeric
On Tue, 16 Dec 2008 16:25:07 +0100, Mark Heckmann <mark.heckmann at gmx.de> wrote:
Hi R-users, I want to apply a function to each column of a data frame that is numeric.
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.