r.plot.wgains: r.plot.wgains

Usage Arguments

Usage

1
2
3
4
5
6
7
8
r.plot.wgains(score.train, target.train, weight.train, score.test, target.test,
  weight.test, target_value = 1, target_w.train = ifelse(target.train ==
  target_value, weight.train, 0), target_w.test = ifelse(target.test ==
  target_value, weight.test, 0), npoints = 20, mode = "avg",
  main = "Gain Curve", sub = NULL, icol.train = 1, icol.test = 2,
  icol.max = 11, col.train = r.color(icol.train),
  col.test = r.color(icol.test), col.max = r.color(icol.max),
  showMessage = TRUE, showMax = TRUE, ...)

Arguments

mode


"def" = As it is
"rnd" = Random
"pos" = Optimist/Positive (Maximum)
"neg" = Pessimist/Negative (Minimum)
"avg" = Average of Optimist and Pessimist


rocalabern/rplot documentation built on May 27, 2019, 12:14 p.m.