label.feature: Modify labels for features under plotting

Description Usage Arguments Value

View source: R/SHAP_funcs.R

Description

label.feature helps to modify labels. If a list is created in the global environment named new_labels (!is.null(new_labels), the plots will use that list to replace default list of labels labels_within_package.

Usage

1

Arguments

x

variable names

Value

a character, e.g. "date", "Time Trend", etc.


SHAPforxgboost documentation built on March 28, 2021, 9:06 a.m.