| simpleNodeSampler {missSBM} | R Documentation |
Class for defining a simple node sampler
Description
Class for defining a simple node sampler
Class for defining a simple node sampler
Super classes
missSBM::networkSampling -> missSBM::networkSampler -> missSBM::nodeSampler -> simpleNodeSampler
Methods
Public methods
Inherited methods
Method new()
constructor for networkSampling
Usage
simpleNodeSampler$new( parameters = NA, nbNodes = NA, directed = FALSE, covarMatrix = NULL, intercept = 0 )
Arguments
parametersthe vector of parameters associated to the sampling at play
nbNodesnumber of nodes in the network
directedlogical, directed network of not
covarMatrixa matrix of covariates used
interceptdouble, intercept term used to compute the probability of sampling in the presence of covariates. Default 0.
Method clone()
The objects of this class are cloneable with this method.
Usage
simpleNodeSampler$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
[Package missSBM version 1.0.4 Index]