errorMatrix: Generate an error matrix from actua and predicted data.

View source: R/errorMatrix.R

errorMatrixR Documentation

Generate an error matrix from actua and predicted data.

Description

An error matrix reports the true/false potisitve/negative rates.

Usage

errorMatrix(actual,
                        predicted,
                        percentage=TRUE,
                        digits=ifelse(percentage,1,3),
                        count=FALSE)

Arguments

actual

a vector of true values.

predicted

a vector of predicted values.

percentage

return percentages.

digits

the number of digits to round results.

count

return counts.

Author(s)

Graham.Williams@togaware.com

References

Package home page: https://rattle.togaware.com

Examples

  ## Not run: errorMatrix(model)

rattle documentation built on March 21, 2022, 5:06 p.m.