astudy: Interrater Agreement Study

View source: R/astudy.R

astudyR Documentation

Interrater Agreement Study

Description

Functions for estimating agreement in scores from a pair of raters.

Usage

astudy(x, y, w, lev)

Arguments

x, y

vectors of scores from two different raters for the same units of observation. Alternatively, if y is missing, x can be a matrix of scores with two columns, one per rater, or a crosstab of rater scores.

w

matrix of weights applied to adjust the severity of disagreements in calculating weighted kappa. Be default, cells 1 off from the diagonal are weighted 1, 2 off are weighted 2, etc.

lev

vector of all unique possible scores.

Value

Returns a list of agreement indices.


talbano/epmr documentation built on Aug. 25, 2023, 1:35 p.m.