Learn R Programming

missSBM (version 0.3.0)

blockDyadSampling_fit: Class for fitting a block-dyad sampling

Description

Class for fitting a block-dyad sampling

Class for fitting a block-dyad sampling

Arguments

Super classes

missSBM::networkSampling -> missSBM::networkSamplingDyads_fit -> blockDyadSampling_fit

Active bindings

vExpec

variational expectation of the sampling

Methods

Public methods

Method new()

constructor

Usage

blockDyadSampling_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

blockDyadSampling_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

blockDyadSampling_fit$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.