Learn R Programming

CME.assistant (version 1.1.4)

get.match: 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)

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

to remove linebreak from the string

Value

an updated vector as character