Learn R Programming

⚠️There's a newer version (1.42.12) of this package.Take me there.

agrmt (version 1.42.8)

Calculate Concentration and Dispersion in Ordered Rating Scales

Description

Calculates concentration and dispersion in ordered rating scales. It implements various measures of concentration and dispersion to describe what researchers variably call agreement, concentration, consensus, dispersion, or polarization among respondents in ordered data. It also implements other related measures to classify distributions. In addition to a generic city-block based concentration measure and a generic dispersion measure, the package implements various measures, including van der Eijk's (2001) measure of agreement A, measures of concentration by Leik, Tatsle and Wierman, Blair and Lacy, Kvalseth, Berry and Mielke, Reardon, and Garcia-Montalvo and Reynal-Querol. Furthermore, the package provides an implementation of Galtungs AJUS-system to classify distributions, as well as a function to identify the position of multiple modes.

Copy Link

Version

Install

install.packages('agrmt')

Monthly Downloads

546

Version

1.42.8

License

MIT + file LICENSE

Maintainer

Didier Ruedin

Last Published

November 17th, 2021

Functions in agrmt (1.42.8)

MRQ

Calculates MRQ polarization index
Reardon

Reardon's entropy
BerryMielke

Calculate IOV
agrmt-package

Calculate Concentration and Dispersion in Ordered Rating Scales
agreement

Calculate van der Eijk's measure of agreement A
agreementError

Simulated coding error for agreement A
D.variance

Approximate variance of Leik's D
BlairLacy

Calculate l
ajus

Classify distributions
consensus

Calculate Tastle and Wierman's measure of consensus
ajusPlot

Plot vector with AJUS type
ajusCheck

Sensitivity test for AJUS
lsquared.variance

Approximate variance of Blair and Lacy's lsquared
modes

Identify multiple modes
consensus.variance

Approximate variance of consensus
minnz

Non-zero minimum
patternAgreement

Calculates patterns agreement
patternVector

Creates pattern vector
polarization

Calculate polarization
censor

Censor helper function
dispersion

Measures dispersion
disper

Measures distance
secondModes

Most common and second most common values
truncatevector

Truncate helper function
Kvalseth

Calculate Kvalseth's COV
compareValues

Compares two values
concentration

Measures concentration
entropy

Calculate Shannon entropy
collapse

Reduces a vector to a frequency vector
dsquared

Calculate d-squared
var.variance

Approximate variance of the consensus (Cns) estimator
compareAgreement

Compare agreement A with and without simulated coding error
l.variance

Approximate variance of Blair and Lacy's l
lsquared

Calculate l-squared
isd

Classify changes over time
expand

Expands a frequency vector to a vector
reduceVector

Remove zeros and repeated values
sd.variance

Approximate variance of the categorical standard deviation
Leik

Calculate ordinal dispersion