Learn R Programming

volker (version 3.2.0)

.agree_confusion: Generate confusion matrix

Description

Generate confusion matrix

Usage

.agree_confusion(
  data,
  cols,
  coders,
  ids = NULL,
  category = NULL,
  labels = TRUE
)

Value

A tibble representing a confusion matrix.

Arguments

data

A tibble.

cols

The columns holding codings.

coders

The column holding coders.

ids

The column holding case identifiers.

category

Focus category or null.

labels

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