Skip to contents

Chooses the class of the fit from the sampling design: missSBM_fit_doubleStandard for "double-standard", missSBM_fit_degree for "degree", missSBM_fit for the other designs, whose missing dyads are integrated out given the blocks.

Usage

new_missSBM_fit(partlyObservedNet, netSampling, clusterInit, useCov = TRUE)

Arguments

partlyObservedNet

An object with class partlyObservedNetwork.

netSampling

The sampling design (see estimateMissSBM()).

clusterInit

Initial clustering: a vector with size the number of nodes. The number of blocks is deduced from its number of levels.

useCov

logical. Should the covariates of partlyObservedNet, if any, be used in the SBM (and not only in the sampling design)? Default is TRUE.

Value

an object inheriting from missSBM_fit, not fitted yet (see its method doVEM())