Skip to contents

Refactor two inputs and make confusion matrix with caret package

Usage

cm_refactor(predvar, refvar)

Arguments

predvar

Predictor variable

refvar

Reference variable

Value

A caret confusion matrix

Author

Joseph Brehm