compress.freq.tb {lcd}R Documentation

Frequency table compression

Description

Compresses a frequency table to a subset of the variables.

Usage

compress.freq.tb(tb, subset = colnames(tb@table)[-ncol(tb@table)]) 

Arguments

tb the frequency table to be compressed, an object of class freq.tb.
subset a vector of strings indicating the subset of variables to be compressed on. The default is the whole variable set.

Details

The actual computation routine is implemented in C++.

Value

The compressed table, an object of class freq.tb.

Author(s)

Zongming Ma and Xiangrui Meng


[Package lcd version 0.7-2 Index]