Creating new boolean vectors by concatenating boolean vectors

# S3 method for class 'booltype'
c(...)

# S3 method for class 'bit'
c(...)

# S3 method for class 'bitwhich'
c(...)

Arguments

...

booltype() vectors

Value

a vector with the lowest input booltype() (but not lower thanlogical())

See also

Author

Jens Oehlschlägel

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