pos.complement: Returns the complement of a pos matrix again as a pos matrix

View source: R/pos_and_ignore.R

pos.complementR Documentation

Returns the complement of a pos matrix again as a pos matrix

Description

Returns the complement of a pos matrix again as a pos matrix

Usage

pos.complement(pos, is.sorted = FALSE, start = 1, end = NULL,
  keep.pos = FALSE, str = NULL)

Examples

## 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)

skranz/stringtools documentation built on May 11, 2022, 4:48 a.m.