Issue warning when requesting bivariate plotting (#3516)

This commit is contained in:
Brandon Greenwell 2018-07-27 19:15:37 -04:00 committed by Philip Hyunsu Cho
parent 8a5209c55e
commit b5fad42da2

View File

@ -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))
}