rename.: Rename variables by name

Description Usage Arguments Examples

View source: R/rename.R

Description

Rename variables from a data.table.

Usage

1
rename.(.df, ...)

Arguments

.df

A data.frame or data.table

...

Rename expression like dplyr::rename()

Examples

1
2
3
4
5
df <- data.table(x = 1:3, y = 4:6)

df %>%
  rename.(new_x = x,
          new_y = y)

mtfairbanks/gdt documentation built on May 4, 2021, 9:44 a.m.