mat_cols_change: Change column names

Description Usage Arguments Examples

Description

Change column names

Usage

1
mat_cols_change(df, pattern, replacement)

Arguments

df

data

pattern, replacement

See str_replace

Examples

1
2
3
4
library(dplyr)
iris %>%
  mat_cols_change("Sepal", "pal") %>%
  head()

MatthieuStigler/matPkg documentation built on Aug. 10, 2021, 11:01 a.m.