descfreq | R Documentation |
Description of the rows of a contingency table or of groups of rows of a contingency table
descfreq(donnee, by.quali = NULL, proba = 0.05)
donnee |
a data frame corresponding to a contingency table (quantitative data) |
by.quali |
a factor used to merge the data from different rows of the contingency table; by default NULL and each row is characterized |
proba |
the significance threshold considered to characterized the category (by default 0.05) |
Returns a list with the characterization of each rows or each group of the by.quali
. A test corresponding to the hypergeometric distribution is performed and the probability to observe a more extreme value than the one observed is calculated. For each row (or category), each of the columns characterising the row are sorted in ascending order of p-value.
Francois Husson francois.husson@institut-agro.fr
Lebart, L., Morineau, A. and Piron, M. (1995) Statistique exploratoire multidimensionnelle, Dunod.
catdes
, condes
, textual
data(children)
descfreq(children[1:14,1:5]) ## desc of rows
descfreq(t(children[1:14,1:5])) ## desc of columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.