R/cramerV.R

cramerV<-
function (X) 
{
nr<-nrow(X)
nl<-ncol(X)
n<-sum(X)
V<-sqrt(chisq.test(X)$statistic/(n*min(nr-1,nl-1)))
as.numeric(V)
}

Try the RcmdrPlugin.pointG package in your browser

Any scripts or data that you put into this service are public.

RcmdrPlugin.pointG documentation built on May 2, 2019, 3:26 p.m.