Learn R Programming

missSBM (version 0.3.0)

blockDyadSampler: Class for defining a block dyad sampler

Description

Class for defining a block dyad sampler

Class for defining a block dyad sampler

Arguments

Active bindings

df

the number of parameters of this sampling

Methods

Public methods

Method new()

constructor for networkSampling

Usage

blockDyadSampler$new(
  parameters = NA,
  nbNodes = NA,
  directed = FALSE,
  clusters = NA
)

Arguments

parameters

the vector of parameters associated to the sampling at play

nbNodes

number of nodes in the network

directed

logical, directed network of not

clusters

a vector of class memberships

Method clone()

The objects of this class are cloneable with this method.

Usage

blockDyadSampler$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.