logical_to_binary: Encode 'TRUE' as 1, and 'FALSE' as 0 (integers)

Description Usage Arguments Value

Description

When saving data as text files for distribution, printing large amounts of text containing TRUE and FALSE is inefficient. Convert to binary takes more R memory, but allows more compact output

Usage

1

Arguments

x

data.frame which may contain logical fields

Value

data.frame without logical fields



Search within the icd package
Search all R packages, documentation and source code

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

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

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