From b5fad42da218a5021263e5a01de5f306a8c90293 Mon Sep 17 00:00:00 2001 From: Brandon Greenwell Date: Fri, 27 Jul 2018 19:15:37 -0400 Subject: [PATCH] Issue warning when requesting bivariate plotting (#3516) --- R-package/R/xgb.plot.shap.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R-package/R/xgb.plot.shap.R b/R-package/R/xgb.plot.shap.R index 3d1b1adad..d529c36fe 100644 --- a/R-package/R/xgb.plot.shap.R +++ b/R-package/R/xgb.plot.shap.R @@ -212,6 +212,7 @@ xgb.plot.shap <- function(data, shap_contrib = NULL, features = NULL, top_n = 1, } if (plot && which == "2d") { # TODO + warning("Bivariate plotting is currently not available.") } invisible(list(data = data, shap_contrib = shap_contrib)) }