c_inequality {stops} | R Documentation |
c-inequality Calculates c-inequality (as in an economic measure of inequality) as Pearsons coefficient of variation of the fitted distance matrix. This can help with avoiding degenerate solutions. This is one of few c-structuredness indices not between 0 and 1, but 0 and infinity.
Description
c-inequality Calculates c-inequality (as in an economic measure of inequality) as Pearsons coefficient of variation of the fitted distance matrix. This can help with avoiding degenerate solutions. This is one of few c-structuredness indices not between 0 and 1, but 0 and infinity.
Usage
c_inequality(confs)
Arguments
confs |
a numeric matrix or data frame |
Value
a numeric value; inequality (Pearsons coefficient of variation of the fitted distance matrix)
Examples
x<-1:10
y<-2+3*x+rnorm(10)
z<- sin(y-x)
confs<-cbind(z,y,x)
c_inequality(confs)
[Package stops version 1.6-2 Index]