print.mshapviz: Prints "mshapviz" Object

View source: R/methods.R

print.mshapvizR Documentation

Prints "mshapviz" Object

Description

Prints "mshapviz" Object

Usage

## S3 method for class 'mshapviz'
print(x, ...)

Arguments

x

An object of class "mshapviz".

...

Further arguments passed from other methods.

Value

Invisibly, the input is returned.

See Also

mshapviz()

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)
x <- c(s1 = s1, s2 = s2)
x

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