rbind.shapviz | R Documentation |
Rowbinds multiple "shapviz" objects based on the +
operator.
## S3 method for class 'shapviz'
rbind(...)
... |
Any number of "shapviz" objects. |
A new object of class "shapviz".
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))
s1 <- shapviz(S, X, baseline = 4)[1]
s2 <- shapviz(S, X, baseline = 4)[2]
s <- rbind(s1, s2)
s
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.