A Multiplex object is an R object generated as the result of calling
the function create.multiplex
+
isMultiplex(x)
checks whether an R object is Multiplex.
isMultiplex(x)
x | An R object |
---|
A logical constant, TRUE
if argument x
is
a Mutiplex object.
Alberto Valdeolivas Urbelz alvaldeolivas@gmail.com
m1 <- igraph::graph(c(1,2,1,3,2,3), directed = FALSE) m2 <- igraph::graph(c(1,3,2,3,3,4,1,4), directed = FALSE) multiObject <- create.multiplex(list(m1=m1,m2=m2)) isMultiplex(multiObject)#> [1] TRUEisMultiplex(m1)#> [1] FALSE