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

Description Usage Arguments Value Functions Examples

View source: R/util.R

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
2
3

Arguments

x

data.frame which may contain logical fields

Value

data.frame without logical fields

Functions

Examples

1
2
3
4

icd documentation built on May 9, 2018, 9:04 a.m.