isMultiplexHet: Is this R object a Multiplex Heterogeneous object?

Description Usage Arguments Details Value Author(s) See Also Examples

Description

A Multiplex Heterogeneous object is an R object generated as the result of calling the function create.multiplexHet

Usage

1

Arguments

x

An R object

Details

isMultiplexHet(x) checks whether an R object is MultiplexHet

Value

A logical constant, TRUE if argument x is a MultiplexHet object.

Author(s)

Alberto Valdeolivas Urbelz alvaldeolivas@gmail.com

See Also

create.multiplexHet, isMultiplex

Examples

1
2
3
4
5
6
7
8
9
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(m1,m2)
h1 <- igraph::graph(c("A","C","B","E","E","D","E","C"), directed = FALSE)
bipartite_relations <- data.frame(m=c(1,3),h=c("A","E"))
multiHetObject <- 
    create.multiplexHet(multiObject,h1,bipartite_relations)
isMultiplexHet(multiHetObject)
isMultiplexHet(h1)

RandomWalkRestartMH documentation built on Nov. 8, 2020, 5:28 p.m.