View source: R/pos_and_ignore.R
| pos.complement | R Documentation |
Returns the complement of a pos matrix again as a pos matrix
pos.complement(pos, is.sorted = FALSE, start = 1, end = NULL, keep.pos = FALSE, str = NULL)
## Not run:
pos = matrix(c(
2,2,
5,8,
10,10
),3,2,byrow=TRUE)
pos.complement(pos)
pos.complement(pos,keep.pos=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.