dot-set_names: Function to return an object after assigning new names

.set_namesR Documentation

Function to return an object after assigning new names

Description

Combines magrittr::set_colnames, magrittr::set_rownames, magrittr::set_names

Usage

.set_names(x, names, where = c("col", "row", "attr"))

Arguments

x

Object on which to operate

names

New names

where

What to change:

  • col - Column names

  • row - Row names

  • names - Names attribute

Value

The original object, with new names

Author(s)

Telarico, Fabio Ashtar


FinNet documentation built on Oct. 31, 2024, 5:07 p.m.