missSBM (version 1.0.4)

dyadSampler: Virtual class for all dyad-centered samplers

Description

Virtual class for all dyad-centered samplers

Virtual class for all dyad-centered samplers

Arguments

Super classes

missSBM::networkSampling -> missSBM::networkSampler -> dyadSampler

Methods

Inherited methods


Method new()

constructor for networkSampling

Usage

dyadSampler$new(type = NA, parameters = NA, nbNodes = NA, directed = FALSE)

Arguments

type

character for the type of sampling. must be in ("dyad", "covar-dyad", "node", "covar-node", "block-node", "block-dyad", "double-standard", "degree")

parameters

the vector of parameters associated to the sampling at play

nbNodes

number of nodes in the network

directed

logical, directed network of not


Method clone()

The objects of this class are cloneable with this method.

Usage

dyadSampler$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.