A Multiplex Heterogeneous object is an R object generated as the result
of calling the function create.multiplexHet
isMultiplexHet(x)
x | An R object |
---|
A logical constant, TRUE
if argument x
is
a MultiplexHet object.
isMultiplexHet(x)
checks whether an R object is MultiplexHet
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_1 <- create.multiplex(list(m1=m1,m2=m2)) h1 <- igraph::graph(c("A","C","B","E","E","D","E","C"), directed = FALSE) multiObject_2 <- create.multiplex(list(h1=h1)) bipartite_relations <- data.frame(m=c(1,3),h=c("A","E")) multiHetObject <- create.multiplexHet(multiObject_1,multiObject_2,bipartite_relations)#>#>#>isMultiplexHet(multiHetObject)#> [1] TRUEisMultiplexHet(h1)#> [1] FALSE