# NOT RUN {
library(tools4uplift)
data("SimUplift")
model1 <- BinUplift2d(SimUplift, "X1", "X2", "treat", "y")
perf1 <- PerformanceUplift(data = model1, treat = "treat",
outcome = "y", prediction = "Uplift_X1_X2",
equal.intervals = TRUE, nb.group = 3)
print(perf1)
# }
Run the code above in your browser using DataLab