indexBieri | R Documentation |
The index builds on the number of rating matches between pairs of constructs. It is the relation between the total number of matches and the possible number of matches.
indexBieri(x, deviation = 0)
x |
A |
deviation |
Maximal difference between ratings to be considered a match (default |
CAVEAT: The Bieri index will change when constructs are reversed.
List of class indexBieri
:
grid
: The grid used to calculate the index
deviation
The deviation parameter.
matches_max
Maximum possible number of matches across constructs.
matches
Total number of matches across constructs.
constructs
: Matrix with no. of matches for constructs.
bieri
: Bieri index (= matches / matches_max)
m <- indexBieri(boeker)
# several output options
print(m)
print(m, output = "IC") # construct matches
# extract the matrix of matches
m$constructs
# CAVEAT: Bieri's index changes when constructs are reversed
nr <- nrow(boeker)
l <- replicate(1000, swapPoles(boeker, sample(nr, sample(nr, 1))))
bieri <- sapply(l, function(x) indexBieri(x)$bieri)
hist(bieri, breaks = 50)
abline(v = mean(bieri), col = "red", lty = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.