An S4 class to represent a Multinomial Stochastic Block Model. Such model can be used to cluster multi-layer graph vertex, and model a square adjacency cube X of size NxNxM with the following generative model : [REMOVE_ME]π∼Dirichlet(α)[REMOVEME2]
With Lij=∑m=1MXijm. These classes mainly store the prior parameters value α,β of this generative model. The MultSbm-class must be used when fitting a simple MultSbm whereas the MultSbmPrior-class must be sued when fitting a CombinedModels-class.
class
MultSbmPrior(beta =1, type ="guess")MultSbm(alpha =1, beta =1, type ="guess")
Arguments
beta: Dirichlet prior parameter over Multinomial links
type: define the type of networks (either "directed", "undirected" or "guess", default to "guess"), for undirected graphs the adjacency matrix is supposed to be symmetric.
alpha: Dirichlet prior parameter over the cluster proportions (default to 1)
Returns
a MultSbmPrior-class object
a MultSbm-class object
Description
An S4 class to represent a Multinomial Stochastic Block Model. Such model can be used to cluster multi-layer graph vertex, and model a square adjacency cube X of size NxNxM with the following generative model :
With Lij=∑m=1MXijm. These classes mainly store the prior parameters value α,β of this generative model. The MultSbm-class must be used when fitting a simple MultSbm whereas the MultSbmPrior-class must be sued when fitting a CombinedModels-class.