powered by
This function allows paste columns
.pasteCols(mat, sep = "")
simplified/non-redundant vector/matrix (ie fewer lines for matrix), or respective index
inital matrix
(character) separator
unique, nonAmbiguousNum, faster than firstOfRepeated which gives more detail in output (lines/elements/indexes of omitted)
unique
nonAmbiguousNum
firstOfRepeated
.pasteCols(matrix(11:16,ncol=2), sep="_")
Run the code above in your browser using DataLab