Virtual class for all dyad-centered samplers
Virtual class for all dyad-centered samplers
Virtual class for all dyad-centered samplers
missSBM::networkSampling
-> missSBM::networkSampler
-> dyadSampler
new()
constructor for networkSampling
dyadSampler$new(type = NA, parameters = NA, nbNodes = NA, directed = FALSE)
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
clone()
The objects of this class are cloneable with this method.
dyadSampler$clone(deep = FALSE)
deep
: Whether to make a deep clone.