ftab {pairwise} | R Documentation |
Tabulating Answer Categories in Data
Description
function tabulating (answer) categories in X
.
Usage
ftab(X, catgories = NULL, na.omit = FALSE)
Arguments
X |
Data as a |
catgories |
optional a vector ( |
na.omit |
logical (default: |
Details
X
can either be a ("numeric"
or "character"
) "matrix"
containing response vectors of persons (rows) or a "data.frame"
containing "numeric"
, "character"
or "factor"
variables (columns).
Value
a "matrix"
with category frequencies
Examples
########
data(bfiN)
ftab(bfiN)
data(sim200x3)
ftab(sim200x3)
[Package pairwise version 0.6.1-0 Index]