mutate_plyr: Mutate a data frame by adding new or replacing existing...

View source: R/utils.R

mutate_plyrR 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.


imager documentation built on May 29, 2024, 1:38 a.m.