phi.table | R Documentation |
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)
x |
the first categorical variable |
y |
the second categorical variable |
weights |
an optional numeric vector of weights (by default, a vector of 1 for uniform weights) |
digits |
integer. The number of digits (default is 3). |
A table with the phi coefficients
Nicolas Robette
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
data(Music) phi.table(Music$Jazz,Music$Age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.