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

Description Usage Arguments Value

View source: R/stochastic_block_model.R

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

1
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 June 12, 2018, 4:27 a.m.