| .pasteCols {wrMisc} | R Documentation |
Paste-concatenate all columns of matrix
Description
This function allows paste columns
Usage
.pasteCols(mat, sep = "")
Arguments
mat |
inital matrix |
sep |
(character) separator |
Value
simplified/non-redundant vector/matrix (ie fewer lines for matrix), or respective index
See Also
unique, nonAmbiguousNum, faster than firstOfRepeated which gives more detail in output (lines/elements/indexes of omitted)
Examples
.pasteCols(matrix(11:16,ncol=2), sep="_")
[Package wrMisc version 1.15.1 Index]