mutate | R Documentation |
Mutate multiple columns
mutateAll(object, fun, ...)
mutateAt(object, vars, fun, ...)
mutateIf(object, predicate, fun, ...)
transmuteAt(object, vars, fun, ...)
transmuteIf(object, predicate, fun, ...)
object |
Object. |
fun |
|
... |
Passthrough arguments to function declared in |
vars |
|
predicate |
|
Modified object.
Mutations are only allowed on atomic
columns.
These functions are inspired by dplyr. However, they are designed to only work on Bioconductor S4 class objects, and use base R code internally.
showMethods("mutateIf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.