Learn R Programming

Factoshiny (version 2.5)

catdesshiny: Categories description

Description

Description of the categories of one factor by categorical variables and/or by quantitative variables

Usage

catdesshiny(X)

Value

Returns a list including:

test.chi

The categorical variables which characterized the factor are listed in ascending order (from the one which characterized the most the factor to the one which significantly characterized with the proba proba

category

description of each category of the num.var by each category of all the categorical variables

quanti.var

the global description of the num.var variable by the quantitative variables with the square correlation coefficient and the p-value of the F-test in a one-way analysis of variance (assuming the hypothesis of homoscedsticity)

quanti

the description of each category of the num.var variable by the quantitative variables.

Arguments

X

a data frame made up of at least one categorical variables and a set of quantitative variables and/or categorical variables

Author

Etienne Lancelle, Francois Husson francois.husson@institut-agro.fr

References

Husson, F., Le, S. and Pages, J. (2010). Exploratory Multivariate Analysis by Example Using R, Chapman and Hall. Lebart, L., Morineau, A. and Piron, M. (1995) Statistique exploratoire multidimensionnelle, Dunod.

See Also

catdes

Examples

Run this code
if (FALSE) {
require(FactoMineR)
data(wine)
catdesshiny(wine)
}

Run the code above in your browser using DataLab