Class for defining a simple node sampler
Class for defining a simple node sampler
Class for defining a simple node sampler
missSBM::networkSampling
-> missSBM::networkSampler
-> missSBM::nodeSampler
-> simpleNodeSampler
new()
constructor for networkSampling
simpleNodeSampler$new(
parameters = NA,
nbNodes = NA,
directed = FALSE,
covarMatrix = NULL,
intercept = 0
)
parameters
: the vector of parameters associated to the sampling at play
nbNodes
: number of nodes in the network
directed
: logical, directed network of not
covarMatrix
: a matrix of covariates used
intercept
: double, intercept term used to compute the probability of sampling in the presence of covariates. Default 0.
clone()
The objects of this class are cloneable with this method.
simpleNodeSampler$clone(deep = FALSE)
deep
: Whether to make a deep clone.