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

tabulate.ff

Tabulation for ff vectors


Description

tabulate.ff takes the integer-valued ff vector bin and counts the number of times each integer occurs in it.

Usage

tabulate.ff(bin, nbins = max(bin, 1, na.rm = TRUE))

Arguments

bin

factor to be binned.

nbins

number of bins

Details

Behaviour of tabulate

Value

integer vector or if FFRETURN is TRUE a ff vector

Examples

#create a vector of 10 million
x <- ff(vmode="integer", length=1e7)

# fill first 200 with values
x[1:100] <- 1
x[101:200] <- 2

# lets count
tabulate.ff(x)

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.