Match Cells
MatchCells(new, orig, ordered = FALSE)# S3 method for character
MatchCells(new, orig, ordered = FALSE)
# S3 method for `NULL`
MatchCells(new, orig, ordered = FALSE)
# S3 method for numeric
MatchCells(new, orig, ordered = FALSE)
A numeric vector with new cells in order of the original cells; if
no match can be found, returns NULL
A vector of new cells
A vector of existing cells
Sort the result to the same order as orig