| networkSampling {missSBM} | R Documentation |
Definition of R6 Class 'networkSampling'
Description
Definition of R6 Class 'networkSampling'
Definition of R6 Class 'networkSampling'
Details
this virtual class is the mother of all subtypes of networkSampling (either sampler or fit) It is used to define a sampling model for a network. It has a rSampling method which takes an adjacency matrix as an input and send back an object with class partlyObservedNetwork.
Active bindings
typea character for the type of sampling
parametersthe vector of parameters associated with the sampling at play
dfthe number of entries in the vector of parameters
Methods
Public methods
Method new()
constructor for networkSampling
Usage
networkSampling$new(type = NA, parameters = NA)
Arguments
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
Method show()
show method
Usage
networkSampling$show( type = paste0(private$name, "-model for network sampling\n") )
Arguments
typecharacter used to specify the type of sampling
Method print()
User friendly print method
Usage
networkSampling$print()
Method clone()
The objects of this class are cloneable with this method.
Usage
networkSampling$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.