powered by
Computes the phi coefficient for every cells of the cross-tabulation between two categorical variables
phi.table(x,y,weights=rep(1,length(x)),digits=3)
the first categorical variable
the second categorical variable
an optional numeric vector of weights (by default, a vector of 1 for uniform weights)
integer. The number of digits (default is 3).
A table with the phi coefficients
Rakotomalala R., 'Comprendre la taille d'effet (effect size)', http://eric.univ-lyon2.fr/~ricco/cours/slides/effect_size.pdf
assoc.twocat,assoc.catcont, condesc, catdesc
assoc.twocat
assoc.catcont
condesc
catdesc
# NOT RUN { data(Music) phi.table(Music$Jazz,Music$Age) # }
Run the code above in your browser using DataLab