ignore.to.pos: Transforms a boolean vector ignore to a pos matrix

Description Usage Examples

View source: R/pos_and_ignore.R

Description

Transforms a boolean vector ignore to a pos matrix

Usage

1
ignore.to.pos(ignore, complement = FALSE)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
  ignore = c(TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,FALSE)
  ignore.to.pos(ignore)
  
  ignore = list(c(TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,FALSE),c(TRUE),c(),c(FALSE,FALSE))
  ignore.to.pos(ignore)
  ignore = c(TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,FALSE)
  ignore.and.complement.pos(ignore)
  

## End(Not run)

skranz/stringtools documentation built on March 20, 2018, 3:23 p.m.