Learn R Programming

SHAPforxgboost (version 0.0.2)

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)

Arguments

plot1

ggplot2 object

show_feature

feature to plot

Value

returns ggplot2 object with further mordified layers based on the feature