Learn R Programming

SHAPforxgboost (version 0.1.3)

plot.label: Internal-function to revise axis label for each feature

Description

This function further fine-tune the format of each feature

Usage

# S3 method for label
plot(plot1, show_feature)

Value

returns ggplot2 object with further mordified layers based on the feature

Arguments

plot1

ggplot2 object

show_feature

feature to plot