Radar plot with model scores. Scores are scaled to [0,1], each score is inversed and divided by maximum score value.

plotModelRanking(object, ..., scores = c("MAE", "MSE", "REC", "RROC"),
new.score = NULL, table = TRUE)

## Arguments

object An object of class ModelAudit. Other modelAudit objects to be plotted together. Vector of score names to be plotted. A named list of functions that take one argument: object of class ModelAudit and return a numeric value. The measure calculated by the function should have the property that lower score value indicates better model. Logical. Specifies if rable with score values should be plotted

## Value

ggplot object

plot.modelAudit

## Examples

library(car)
lm_model <- lm(prestige~education + women + income, data = Prestige)
lm_au <- audit(lm_model, data = Prestige, y = Prestige$prestige) library(randomForest) rf_model <- randomForest(prestige~education + women + income, data = Prestige) rf_au <- audit(rf_model, data = Prestige, y = Prestige$prestige)
plotModelRanking(lm_au, rf_au)#> Coordinate system already present. Adding new coordinate system, which will replace the existing one.