summary.confusion: Summary method for the confusion matrix

Description Usage Arguments Details See Also Examples

View source: R/evalbin.R

Description

Summary method for the confusion matrix

Usage

1
2
## S3 method for class 'confusion'
summary(object, dec = 3, ...)

Arguments

object

Return value from confusion

dec

Number of decimals to show

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/model/evalbin.html for an example in Radiant

See Also

confusion to generate results

plot.confusion to visualize result

Examples

1
2
3
data.frame(buy = dvd$buy, pred1 = runif(20000), pred2 = ifelse(dvd$buy == "yes", 1, 0)) %>%
  confusion(c("pred1", "pred2"), "buy") %>%
  summary()

radiant.model documentation built on June 15, 2018, 9:13 a.m.