Creates observationInfluence object to be plotted.

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

object | An object of class ModelAudit. |
---|---|

scores | Vector of score names to be plotted. |

new.score | 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. |

... | other parameters. |

library(MASS) model.glm <- glm(Postwt ~ Prewt + Treat + offset(Prewt), family = gaussian, data = anorexia) audit.glm <- audit(model.glm) mp.glm <- modelPerformance(audit.glm)