| ftab | R Documentation |
Function tabulating (answer) categories in X.
ftab(X, catgories = NULL, na.omit = FALSE)
X |
Data as a |
catgories |
optional a vector ( |
na.omit |
logical (default: |
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).
a "matrix" with category frequencies
######## data(suicide) ftab(suicide)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.