Description Usage Arguments Value Author(s)
Convenience function to derive a zero-or-one binary vector from two logical vectors.
1 | binarise(is0, is1)
|
is0 |
a logical vector |
is1 |
a logical vector of same length as is0 |
Returns a vector of 0/1/NA of the same length as the input arguments,
with 0 when is0
is TRUE and is1
is FALSE, 1 when
is1
is TRUE and is0
is FALSE, and NA otherwise.
Toby Johnson Toby.x.Johnson@gsk.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.