remove_suffix {DIETCOST}R Documentation

Suffix removal

Description

Removes one of two suffixes from column names

Usage

remove_suffix(vector, suffix_1, suffix_2)

Arguments

vector

Vector of column names

suffix_1

First suffix to be removed.

suffix_2

Second suffix to be removed.

Value

Vector of column names without suffixes.


[Package DIETCOST version 1.0.0.0 Index]