Learn R Programming

shapviz (version 0.9.7)

print.shapviz: Prints "shapviz" Object

Description

Prints "shapviz" Object

Usage

# S3 method for shapviz
print(x, ...)

Value

Invisibly, the input is returned.

Arguments

x

An object of class "shapviz".

...

Further arguments passed from other methods.

See Also

shapviz()

Examples

Run this code
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))
x <- shapviz(S, X, baseline = 4)
x

Run the code above in your browser using DataLab