sbm_census_quantities: compute network reporting estimates from a randomly simulated...

View source: R/stochastic_block_model.R

sbm_census_quantitiesR Documentation

compute network reporting estimates from a randomly simulated stochastic block model

Description

note that this code relies upon the fact that the vertices should have two 0/1 attributes, in.H and in.F, which indicate whether or not each one is in the hidden population and the frame population

Usage

sbm_census_quantities(data, weights = data[, "sampling.weight"])

Arguments

weights

weights that account for the sampling (if any); this should be a vector that is the same length as the number of rows in rg.dat

rg.dat

dataset from a reporting graph object

Value

a data frame with estimates and several related quantities


dfeehan/nrsimulatr documentation built on Feb. 27, 2024, 3:18 a.m.