catdesc: Measures the association between a categorical variable and some continuous and/or categorical variables
Description
Measures the association between a categorical variable and some continuous and/or categorical variables
Usage
catdesc(y,x,min.phi=NULL)
Arguments
y
the categorical variable to describe (must be a factor)
x
a data frame with continuous and/or categorical variables
min.phi
for the relationship between y and a categorical variable, only associations higher or equal to min.phi will be displayed. If NULL (default), they are all displayed.
Value
A list of the following items :
variables
associations between y and the variables in x, computed with BivariateAssoc function from package moreparty
bylevel
a list with one element for each level of y
Each element in bylevel has the following items :
categories
a data frame with categorical variables from x and associations measured by phi
continuous.var
a data frame with continuous variables from x and associations measured by correlation coefficients
References
Rakotomalala R., 'Comprendre la taille d'effet (effect size)', [http://eric.univ-lyon2.fr/~ricco/cours/slides/effect_size.pdf]