Learn R Programming

tabxplor (version 1.1.0)

mutate.tabxplor_fmt: mutate method to access vctrs::fields of tabxplor_fmt vectors

Description

mutate method to access vctrs::fields of tabxplor_fmt vectors

Usage

# S3 method for tabxplor_fmt
mutate(x, ...)

Arguments

x

A tabxplor_fmt column.

...

<data-masking> Name-value pairs. The name gives the name of the column in the output (do not change it).

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

Value

An object of class tabxplor_fmt.