colwise {plyr} | R Documentation |
Turn a function that operates on a vector into a function that operates column-wise on a data.frame
colwise(.fun, .if = function(x) TRUE)
.fun |
function |
.if |
should the function with wrapped with failwith(NA) |
|
function that tests columns for inclusion |
catcolwise
and numcolwise
provide version that only operate
on discrete and numeric variables respectively
Hadley Wickham <h.wickham@gmail.com>