ConfusionMatrixFromVariables: 'ConfusionMatrixFromVariables'

View source: R/confusion.R

ConfusionMatrixFromVariablesR Documentation

ConfusionMatrixFromVariables

Description

ConfusionMatrixFromVariables

Usage

ConfusionMatrixFromVariables(
  observed,
  predicted,
  subset = NULL,
  weights = NULL
)

Arguments

observed

A factor.

predicted

A factor.

subset

An optional vector specifying a subset of observations to be used in the fitting process or the name of a variable in data. It may not be an expression. subset may not

weights

An optional vector of sampling weights or the name of a variable in data. It may not be an expression.

Details

A contingency table showing the observed versus predicted values where both inputs are factor variables.


Displayr/flipRegression documentation built on March 2, 2024, 3:51 a.m.