Measures the association between a categorical variable and some continuous and/or categorical variables
catdesc(y,x,min.phi=NULL)
the categorical variable to describe (must be a factor)
a data frame with continuous and/or categorical variables
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.
A list of the following items :
associations between y and the variables in x, computed with BivariateAssoc function from package moreparty
a list with one element for each level of y
a data frame with categorical variables from x and associations measured by phi
a data frame with continuous variables from x and associations measured by correlation coefficients
Rakotomalala R., 'Comprendre la taille d'effet (effect size)', [http://eric.univ-lyon2.fr/~ricco/cours/slides/effect_size.pdf]
# NOT RUN {
# }
# NOT RUN {
data(Taste)
catdesc(Taste$Comedy, Taste[,c('Gender','Age')])
# }
Run the code above in your browser using DataLab