networkSampling: Definition of R6 Class 'networkSampling'

networkSamplingR 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

type

a character for the type of sampling

parameters

the vector of parameters associated with the sampling at play

df

the number of entries in the vector of parameters

Methods

Public methods


Method new()

constructor for networkSampling

Usage
networkSampling$new(type = NA, parameters = NA)
Arguments
type

character for the type of sampling. must be in ("dyad", "covar-dyad", "node", "covar-node", "block-node", "block-dyad", "double-standard", "degree")

parameters

the 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
type

character 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
deep

Whether to make a deep clone.


missSBM documentation built on Oct. 24, 2023, 5:08 p.m.