plot.Explain | R Documentation |
The plot.Explain
function provides various visualization methods for Shapley values.
The values and format used in the graph are determined based on the input parameters.
## S3 method for class 'Explain'
plot(
x,
average = NULL,
type = NULL,
num_post = NULL,
plot.flag = TRUE,
adjust = FALSE,
probs = 0.95,
title = NULL,
...
)
x |
An |
average |
Input the reference value for calculating the mean of the object's |
type |
|
num_post |
To check the contribution of variables for a single posterior sample, enter a value within the number of posterior samples. |
plot.flag |
If |
adjust |
The default value is |
probs |
Enter the probability for the quantile interval. The default value is |
title |
The title of the plot, with a default value of |
... |
Additional arguments to be passed |
The plot is returned based on the specified option.:
out |
If average is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.