errorMatrix {rattle}R 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)

[Package rattle version 5.5.1 Index]