Skip to content
Prev 285848 / 398502 Next

How to determine a subset of a binary strings?

On 20-02-2012, at 14:15, jing tang wrote:

            
x <- c(0,0,1)
y <- c(0,1,1)
z <- c(0,1,0)

any(x & y)
any(z & y)
any(x & z)

Berend