binary.flip: binary.flip

Description Usage Arguments Value Author(s) Examples

View source: R/binary.flip.r

Description

Flip binary numbers

Usage

1

Arguments

x

A vector of 0/1 numbers.

Value

X with 0's flipped to 1's and 1's flipped to 0's

Author(s)

Jared P. Lander

Examples

1
binary.flip(c(1,1,0,1,0,0,1))


useful documentation built on May 19, 2017, 11:32 p.m.
Search within the useful package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.