freq_ca | R Documentation |
A helper function for computing the frequency of each factor level (typically used in correspondence analysis).
freq_ca(dat, nfac = FALSE)
dat |
A factor, (character) vector or a data frame. |
nfac |
Logical indicating whether the number of factors (i.e. the number of columns in |
A vector containing the frequency counts of every level.
SndT_Fra <- read.table(system.file("extdata", "SndT_Fra.txt", package = "svs"),
header = TRUE, sep = "\t", quote = "\"", encoding = "UTF-8",
stringsAsFactors = FALSE)
freq_ca(SndT_Fra)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.