Learn R Programming

missSBM (version 0.3.0)

blockSampling_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 -> blockSampling_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

Public methods

Method new()

constructor

Usage

blockSampling_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

blockSampling_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

blockSampling_fit$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.