
This function converts/standardizes names of 'query' to standard names from 'ref' (list of possible names (char vect) where names define standardized name). It takes 'query' as character vector and return character vecor (same length as 'query') with 'converted/corrected' names
.convertNa(query, ref, partMatch = TRUE)
This function returns a character vector
(matrix or data.frame, min 2 columns) main input
(list) list of multiple possible names associated to given group, reference name for each group is name of list
(logical) allows partial matching (ie name of 'ref' must be in head of 'query')
daPa <- matrix(c(1:5,8,2:6,9), ncol=2)
Run the code above in your browser using DataLab