Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

icd9 (version 1.0)

logicalToBinary: encode TRUE as 1, and FALSE as 0 (integers)

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 TODO: test

Usage

logicalToBinary(x)

Arguments

x

dataframe which may contain logical fields

Value

data frame without logical fields

Details

Taken from my jwutil package.#'