This function takes a character vector of labels and uses a set of old and new labels to re-map from the old label set to the new label set.
mapLabels(labels = NULL, newLabels = NULL, oldLabels = names(newLabels))
A character vector containing lables to map.
A character vector (same length as oldLabels) to map labels to from oldLabels.
A character vector (same length as newLabels) to map labels from to newLabels