summary.permshap | R Documentation |
Summarizes "permshap" Object
## S3 method for class 'permshap'
summary(object, compact = FALSE, n = 2L, ...)
object |
An object of class "permshap". |
compact |
Set to |
n |
Maximum number of rows of SHAP values etc. to print. |
... |
Further arguments passed from other methods. |
Invisibly, the input is returned.
permshap()
fit <- lm(Sepal.Length ~ ., data = iris)
s <- permshap(fit, iris[1:3, -1], bg_X = iris[, -1])
summary(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.