Learn R Programming

missSBM (version 0.3.0)

degreeSampling_fit: Class for fitting a degree sampling

Description

Class for fitting a degree sampling

Class for fitting a degree sampling

Arguments

Super classes

missSBM::networkSampling -> missSBM::networkSamplingNodes_fit -> degreeSampling_fit

Active bindings

vExpec

variational expectation of the sampling

Methods

Public methods

Method new()

constructor

Usage

degreeSampling_fit$new(partlyObservedNetwork, blockInit, connectInit)

Arguments

partlyObservedNetwork

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

blockInit

n x Q matrix of initial block indicators

connectInit

Q x Q matrix of initial block probabilities of connection

Method update_parameters()

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

Usage

degreeSampling_fit$update_parameters(imputedNet, ...)

Arguments

imputedNet

an adjacency matrix where missing values have been imputed

...

used for compatibility

Method update_imputation()

a method to update the imputation of the missing entries.

Usage

degreeSampling_fit$update_imputation(PI)

Arguments

PI

the matrix of inter/intra class probability of connection

Method clone()

The objects of this class are cloneable with this method.

Usage

degreeSampling_fit$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.