Skip to contents

Plots a model score or a population of models as a barplots, representing each feature, the length being the coefficient

Usage

plotModelScore(
  mod = NULL,
  y = NULL,
  col.sign = c("deepskyblue1", "firebrick1"),
  main = ""
)

Arguments

mod:

a model to plot

y:

the class to predict

col.sign:

the colors of the cofficients based on the sign of the coefficients (default: -1=deepskyblue1, 1:firebrick1)

main:

possibility to change the title of the function (default:"")