indexPolarization: Polarization (percentage of extreme ratings)

View source: R/measures.r

indexPolarizationR Documentation

Polarization (percentage of extreme ratings)

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

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:

  • scale: Minimum and maximum of grid rating scale.

  • ⁠lower,upper⁠ Lower and upper value to decide which ratings are considered extreme.

  • polarization_total: Grid's overall polarization.

  • polarization_constructs: Polarization per construct.

  • polarization_elements: Polarization per element.

Examples

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 14, 2024, 8:15 a.m.