compact: Compact a ff vector or ffdf data frame
Description
Compact takes a ff vector and tries to use the smallest binary data type for this vector.
Usage
# S3 method for ff
compact(x, use.na = TRUE, ...)
Arguments
use.na
logical
if TRUE the resulting ff vector can contain NA, otherwise this is not checked
Value
compact cloned ff vector, or original if no compacting can be done