Examples for 'bit::c.booltype'


Concatenating booltype vectors

Aliases: c.booltype c.bit c.bitwhich

Keywords: classes logic

### ** Examples

 c(bit(4), !bit(4))
bit length=8 occupying only 1 int32
    1     2     3     4     5     6     7     8 
FALSE FALSE FALSE FALSE  TRUE  TRUE  TRUE  TRUE 
 c(bit(4), !bitwhich(4))
bit length=8 occupying only 1 int32
    1     2     3     4     5     6     7     8 
FALSE FALSE FALSE FALSE  TRUE  TRUE  TRUE  TRUE 
 c(bitwhich(4), !bit(4))
bit length=8 occupying only 1 int32
    1     2     3     4     5     6     7     8 
FALSE FALSE FALSE FALSE  TRUE  TRUE  TRUE  TRUE 
 c(ri(1,2,4), !bit(4))
bit length=8 occupying only 1 int32
    1     2     3     4     5     6     7     8 
 TRUE  TRUE FALSE FALSE  TRUE  TRUE  TRUE  TRUE 
 c(bit(4), !logical(4))
[1] FALSE FALSE FALSE FALSE  TRUE  TRUE  TRUE  TRUE
 message("logical in first argument does not dispatch: c(logical(4), bit(4))")
logical in first argument does not dispatch: c(logical(4), bit(4))
 c.booltype(logical(4), !bit(4))
[1] FALSE FALSE FALSE FALSE  TRUE  TRUE  TRUE  TRUE

[Package bit version 4.0.4 Index]