| networkSampler | R Documentation |
Definition of R6 Class 'networkSampling_sampler'
Definition of R6 Class 'networkSampling_sampler'
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.
missSBM::networkSampling -> networkSampler
samplingMatrixa matrix of logical indicating observed entries
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.
partlyObservedNetwork
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.