Mutate multiple columns
Usage
mutateAll(object, fun, ...)
mutateAt(object, vars, fun, ...)
mutateIf(object, predicate, fun, ...)
transmuteAt(object, vars, fun, ...)
transmuteIf(object, predicate, fun, ...)
Arguments
- object
Object.
- fun
function
. Mutation function.- ...
Passthrough arguments to function declared in
fun
argument.- vars
character
. Column names.- predicate
function
. A predicate function to be applied to the columns. For example,is.atomic()
.