dyadSampler function

Virtual class for all dyad-centered samplers

Virtual class for all dyad-centered samplers

Virtual class for all dyad-centered samplers

Virtual class for all dyad-centered samplers

Super classes

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

Methods

Public 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.

  • Maintainer: Julien Chiquet
  • License: GPL-3
  • Last published: 2025-03-13