is.shapviz | R Documentation |
Is object of class "shapviz"?
is.shapviz(object)
object |
An R object. |
Returns TRUE
if object
has "shapviz" among its classes,
and FALSE
otherwise.
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))
shp <- shapviz(S, X)
is.shapviz(shp)
is.shapviz("a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.