mutate.decorated: Mutate Decorated

View source: R/dplyr.R

mutate.decoratedR Documentation

Mutate Decorated

Description

Preserves class when mutating decorated.

Usage

## S3 method for class 'decorated'
mutate(.data, ...)

Arguments

.data

A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details.

...

<data-masking> Name-value pairs. The name gives the name of the column in the output.

The value can be:

  • A vector of length 1, which will be recycled to the correct length.

  • A vector the same length as the current group (or the whole data frame if ungrouped).

  • NULL, to remove the column.

  • A data frame or tibble, to create multiple columns in the output.

See Also

Other dplyr: anti_join.decorated(), arrange.decorated(), full_join.decorated(), group_by.decorated(), inner_join.decorated(), left_join.decorated(), right_join.decorated(), select.decorated(), semi_join.decorated(), slice.decorated(), summarise.decorated(), summarize.decorated(), ungroup.decorated()


yamlet documentation built on Oct. 6, 2023, 9:07 a.m.