Strip pattern from row names of a matrix or data.frame

Description

Strip pattern from row names of a matrix or data.frame

Usage

strip_rownames(.data, strip = "~lfq~light\$")

Arguments

.data a matrix or data.frame with row names
strip regex pattern to remove from row names

Value

the input with cleaned row names