get.match: A label function to replace values by a given list in a...

get.matchR Documentation

A label function to replace values by a given list in a variable

Description

You can provide a __new_list__ to define the values you wish to change in this variable. Values not revised in the given list will be kept

Usage

get.match(x, new_list = NULL, no_line_break = FALSE, show_no_match = FALSE)

Arguments

x

a element or a vector

new_list

if you supply a new list the function will use instead of the default_labels

no_line_break

default to FALSE, if TRUE will remove line break from the string

show_no_match

default to FALSE, if TRUE will message unmatched elements

Value

an updated vector as character


unicef-drp/CME.assistant documentation built on April 29, 2024, 5:22 a.m.