Public methods
Method new()
constructor for networkSampling
Usage
missSBM_fit$new(partlyObservedNet, nbBlocks, netSampling, clusterInit, useCov)
Arguments
partlyObservedNet
An object with class partlyObservedNetwork
.
nbBlocks
integer, the number of blocks in the SBM
netSampling
The sampling design for the modelling of missing data: MAR designs ("dyad", "node") and NMAR designs ("double-standard", "block-dyad", "block-node" ,"degree")
clusterInit
Initial clustering: either a character in "hierarchical", "spectral" or "kmeans", or a vector with size ncol(adjacencyMatrix)
, providing a user-defined clustering with nbBlocks
levels. Default is "hierarchical".
useCov
logical. If covariates are present in partlyObservedNet, should they be used for the inference or of the network sampling design, or just for the SBM inference? default is TRUE.
Method doVEM()
a method to perform inference of the current missSBM fit with variational EM
Usage
missSBM_fit$doVEM(
control = list(threshold = 0.001, maxIter = 100, fixPointIter = 5, trace = 1)
)
Arguments
control
a list of parameters controlling the variational EM algorithm. See details of function estimateMissSBM()
Method show()
show method for missSBM_fit
Usage
missSBM_fit$show()
Method print()
User friendly print method
Usage
missSBM_fit$print()
Method clone()
The objects of this class are cloneable with this method.
Usage
missSBM_fit$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.