rm_plural_colnames: Remove plurals

View source: R/rm_plural_colnames.R

rm_plural_colnamesR Documentation

Remove plurals

Description

Removes "s" at the end of strings or just before digits at the end of strings

Usage

rm_plural_colnames(x)

Arguments

x

A string vector

Value

A string vector

Examples


rm_plural_colnames(c("traits1", "traits2", "traits3", "ecotypes"))


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.