barplot.PerformanceUplift function

Uplift barplot

Uplift barplot

Barplot of observed uplift with respect to predicted uplift sorted from the highest to the lowest.

## S3 method for class 'PerformanceUplift' barplot(height, ...)

Arguments

  • height: a table that must be the output of PerformanceUplift function.
  • ...: additional barplot arguments.

Returns

a barplot and the associated Kendall's uplift rank correlation

References

Belbahri, M., Murua, A., Gandouet, O., and Partovi Nia, V. (2019) Uplift Regression, https://dms.umontreal.ca/~murua/research/UpliftRegression.pdf

Author(s)

Mouloud Belbahri

See Also

PerformanceUplift

Examples

library(tools4uplift) data("SimUplift") model <- BinUplift2d(SimUplift, "X1", "X2", "treat", "y") #performance of the heat map uplift estimation on the training dataset perf <- PerformanceUplift(data = model, treat = "treat", outcome = "y", prediction = "Uplift_X1_X2", equal.intervals = TRUE, nb.group = 5) barplot(perf)
  • Maintainer: Mouloud Belbahri
  • License: GPL-2 | GPL-3
  • Last published: 2021-01-06

Useful links