Learn R Programming

missSBM (version 1.0.5)

blockNodeSampling_fit: Class for fitting a block-node sampling

Description

Class for fitting a block-node sampling

Class for fitting a block-node sampling

Arguments

Super classes

missSBM::networkSampling -> missSBM::networkSamplingNodes_fit -> blockNodeSampling_fit

Active bindings

vExpec

variational expectation of the sampling

log_lambda

double, term for adjusting the imputation step which depends on the type of sampling

Methods

Inherited methods


Method new()

constructor

Usage

blockNodeSampling_fit$new(partlyObservedNetwork, blockInit)

Arguments

partlyObservedNetwork

a object with class partlyObservedNetwork representing the observed data with possibly missing entries

blockInit

n x Q matrix of initial block indicators


Method update_parameters()

a method to update the estimation of the parameters. By default, nothing to do (corresponds to MAR sampling)

Usage

blockNodeSampling_fit$update_parameters(imputedNet, Z)

Arguments

imputedNet

an adjacency matrix where missing values have been imputed

Z

indicator of blocks


Method clone()

The objects of this class are cloneable with this method.

Usage

blockNodeSampling_fit$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.