mat_cols_change: Change column names

mat_cols_changeR Documentation

Change column names

Description

Change column names

Usage

mat_cols_change(df, pattern, replacement)

Arguments

df

data

pattern, replacement

See str_replace

Examples

library(dplyr)
iris %>%
  mat_cols_change("Sepal", "pal") %>%
  head()

MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.