Learn R Programming

SHAPforxgboost (version 0.1.3)

label.feature: 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)

Value

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

Arguments

x

variable names