R6 Class definition of a Multipartite SBM
R6 Class definition of a Multipartite SBM
sbm::SBM -> MultipartiteSBM
dimLabelsvector of characters giving the label of each connected dimension
blockProplist of two vectors of block proportions (aka prior probabilities of each block)
connectParamparameters associated to the connectivity of the SBM, e.g. matrix of inter/inter block probabilities when model is Bernoulli
probMembershipsmatrix of estimated probabilities for block memberships for all nodes
nbBlocks: vector with the number of blocks in each FG
nbConnectParamnumber of parameter used for the connectivity
architectureorganization of the multipartite network
nbNetworksnumber of networks in the multipartite network
membershipslist of size 2: vector of memberships in all parts of the network
indMembershipsmatrix for clustering memberships
Inherited methods
new()constructor for Multipartite SBM
modelcharacter describing the type of model
architecturea 2-column matrix describing interactions between the networks
directedvector of logical: are the network directed or not?
nbNodesnumber of nodes in each dimension/part of the network
dimLabelslabels of each par of the network
blockPropparameters for block proportions (vector of list of vectors)
connectParamparameters of connectivity (vector of list of vectors)
plot()plot Multipartite Network
typecharacter for the type of plot: either 'data' (true connection), 'expected' (fitted connection) or 'meso' (mesoscopic view). Default to 'data'.
orderedTRUE is the matrices are plotted after reorganization with the blocks. Default value = TRUE
plotOptionslist of plot options for the mesoscopic view or matrix view