recode_names: Recode names of a vector

Description Usage Arguments Value

View source: R/set_names.R

Description

Recode names of a vector

Usage

1
recode_names(x, .f, ...)

Arguments

x

A vector

.f

A named character vector or something that can be coerced into a function. If it is a function it must return a character vector the same length as names(x).

...

Arguments passed to .f if it is a function.

Value

The vector x with new names.


jrnold/rubbish documentation built on May 20, 2019, 2:05 a.m.