key_mapping: Mapping key according to a given dict.

View source: R/utils.R

key_mappingR Documentation

Mapping key according to a given dict.

Description

Mapping key according to a given dict.

Usage

key_mapping(x, dict)

Arguments

x

A character vector to convert.

dict

A named character defined mapping rule.

Value

A character vector.


altairwei/rhapsodykit documentation built on Feb. 1, 2023, 8:52 a.m.