label.feature: Modify labels for features under plotting

View source: R/SHAP_funcs.R

label.featureR Documentation

Modify labels for features under plotting

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

label.feature(x)

Arguments

x

variable names

Value

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


SHAPforxgboost documentation built on May 31, 2023, 8:20 p.m.