indexBieri: Bieri's index of cognitive complexity

Description Usage Arguments Details Value Examples

View source: R/measures.r

Description

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.

Usage

1
indexBieri(x, deviation = 0)

Arguments

x

A repgrid object.

deviation

Maximal difference between ratings to be considered a match (default 0 = identical scores for a match).

Details

CAVEAT: The Bieri index will change when constructs are reversed.

Value

List of class indexBieri:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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)

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.