Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class 'ff'
compact(x, use.na = TRUE, ...)

Arguments

x

ff or ffdf object

use.na

logical if TRUE the resulting ff vector can contain NA, otherwise this is not checked

...

other parameters

Value

compact cloned ff vector, or original if no compacting can be done


ffbase

Basic Statistical Functions for Package 'ff'

v0.13.3
GPL-3
Authors
Edwin de Jonge, Jan Wijffels, Jan van der Laan
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.