Definition of R6 Class 'networkSampling_sampler'
Definition of R6 Class 'networkSampling_sampler'
missSBM::networkSampling -> networkSampler
samplingMatrixa matrix of logical indicating observed entries
Inherited methods
new()constructor for networkSampling
networkSampler$new(type = NA, parameters = NA, nbNodes = NA, directed = FALSE)typecharacter for the type of sampling. must be in ("dyad", "covar-dyad", "node", "covar-node", "block-node", "block-dyad", "double-standard", "degree")
parametersthe vector of parameters associated to the sampling at play
nbNodesnumber of nodes in the network
directedlogical, directed network of not
rSamplingMatrix()a method for drawing a sampling matrix according to the current sampling design
networkSampler$rSamplingMatrix()
clone()The objects of this class are cloneable with this method.
networkSampler$clone(deep = FALSE)deepWhether to make a deep clone.
This class is use to define a sampling model for a network. Inherits from 'networkSampling'. Owns a rSampling method which takes an adjacency matrix as an input and send back an object with class partlyObservedNetwork.
partlyObservedNetwork