rbind.shapviz: Rowbinds Multiple "shapviz" Objects

View source: R/methods.R

rbind.shapvizR Documentation

Rowbinds Multiple "shapviz" Objects

Description

Rowbinds multiple "shapviz" objects based on the + operator.

Usage

## S3 method for class 'shapviz'
rbind(...)

Arguments

...

Any number of "shapviz" objects.

Value

A new object of class "shapviz".

See Also

shapviz()

Examples

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

shapviz documentation built on Oct. 14, 2023, 5:07 p.m.