Learn R Programming

cSEM (version 0.7.1)

fastIntTab: Internal: Fast (cross-)tabulation of integer-coded categorical variables

Description

A faster, more specialized alternative to base::table() for (cross-)tabulating one or two variables that are (or can be coerced to) small positive integer codes, as used by polychor() and polyserial(). Rows with a missing value in either x or y are dropped before tabulating. Implemented by Kjell S. Slupphaug.

Usage

fastIntTab(x, y = NULL)

Arguments

References