Learn R Programming

volker (version 3.2.0)

.agree_items: Calculate agreement coefficients for multiple items

Description

Calculate agreement coefficients for multiple items

Usage

.agree_items(
  data,
  cols,
  coders,
  ids = NULL,
  category = NULL,
  method = "reliability",
  labels = TRUE
)

Value

A tibble with agreement coefficients.

Arguments

data

A tibble.

cols

The columns holding codings.

coders

The column holding coders.

ids

The column holding case identifiers.

category

If no category is provided, macro statistics are returned (along with the number of categories in the output). Provide a category to get the statistics for this category only. If values are boolean (TRUE / FALSE) and no category is provided, the category is always assumed to be "TRUE".

method

The output metrics, one of reliability (reliability scores) or classification (accuracy, precision, recall, f1).

labels

If TRUE (default) extracts labels from the attributes, see codebook.