Skip to contents

Remap named list or data.frame using a translation map

Usage

remap(x, map, reverse = FALSE)

Arguments

x

names list or data.frame

map

map used to translate elements of x, e.g. list("CLi" = "CL", "V" = "V1")

reverse

interpret map as reverse