summary.shapviz | R Documentation |
Summarizes "shapviz" Object
## S3 method for class 'shapviz'
summary(object, n = 2L, ...)
object |
An object of class "shapviz". |
n |
Maximum number of rows of SHAP values and feature values to show. |
... |
Further arguments passed from other methods. |
Invisibly, the input is returned.
shapviz()
S <- matrix(c(1, -1, -1, 1), ncol = 2, dimnames = list(NULL, c("x", "y")))
X <- data.frame(x = c("a", "b"), y = c(100, 10))
object <- shapviz(S, X, baseline = 4)
summary(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.