indexPolarization: Polarization (percentage of extreme ratings)

Description Usage Arguments Value Examples

View source: R/measures.r

Description

Polarization is the percentage of extreme ratings, e.g. the values 1 and 7 for a grid with a 7-point ratings scale.

Usage

1
indexPolarization(x, deviation = 0)

Arguments

x

A repgrid object.

deviation

The maximal deviation from the end of the rating scale for values to be considered an 'extreme' rating. By default only values that lie directly on ends of the ratings scales are considered 'extreme' (default = 0).

Value

List of class indexPolarization:

Examples

1
2
3
4
5
6
7
p <- indexPolarization(boeker)
p

# control the output
print(p, output = "T")  # total polarization
print(p, output = "C")  # construct polarization
print(p, output = "E")  # element polarization

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