mutate_plyr {imager} | R Documentation |
Mutate a data frame by adding new or replacing existing columns.
Description
This function copied directly from plyr, and modified to use a different name to avoid namespace collisions with dplyr/tidyverse functions.
Usage
mutate_plyr(.data, ...)
Arguments
.data |
the data frame to transform |
... |
named parameters giving definitions of new columns. |
Details
This function is very similar to transform
but it executes
the transformations iteratively so that later transformations can use the
columns created by earlier transformations. Like transform, unnamed
components are silently dropped.
Mutate seems to be considerably faster than transform for large data frames.
[Package imager version 1.0.2 Index]