QiniBarPlot {tools4uplift} | R Documentation |
Barplot of observed uplift with respect to predicted uplift sorted from the highest to the lowest.
QiniBarPlot(x, title = "Model Performance: Uplift by Group", color = NULL)
x |
a table that must be the output of |
title |
an overall title for the plot. |
color |
color of the barplot. |
a barplot
Mouloud Belbahri
Belbahri, M., Murua, A., Gandouet, O., and Partovi Nia, V. (2019) Uplift Regression, <https://dms.umontreal.ca/~murua/research/UpliftRegression.pdf>
QiniTable
library(tools4uplift) data("SimUplift") square1 <- SquareUplift(SimUplift, "X1", "X2", "treat", "y") #performance of the heat map uplift estimation on the training dataset perf <- QiniTable(data = square1, treat = "treat", outcome = "y", prediction = "Uplift_X1_X2", nb.group = 5) QiniBarPlot(perf)