View source: R/pos_and_ignore.R
| pos.with.complement | R Documentation |
Returns a pos matrix combined with its complement. The matrix has an attribute "complement" which is a logical vector indicating whether a row in the matrix is the original matrix or a complement
pos.with.complement(pos, is.sorted = FALSE, end = NULL)
## Not run:
pos = matrix(c(
2,2,
5,8,
10,10
),3,2,byrow=TRUE)
pos.with.complement(pos)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.