reporting_graph.imperfect_reporting: Create a reporting graph from a social network (i.e., creates...

View source: R/reporting_graph.R

reporting_graph.imperfect_reportingR Documentation

Create a reporting graph from a social network (i.e., creates ARD)

Description

Create a reporting graph with attributes added to vertices in the network that have aggregate relational reports. Incorporate imperfect reporting (i.e., false positives and negatives) at the aggregate level.

Usage

## S3 method for class 'imperfect_reporting'
reporting_graph(reporting.params, sim.graph)

Arguments

reporting.params

the reporting parameters

sim.graph

the igraph object with the social network

Details

Note that this function relies upon the fact that the igraph object sim.graph will have an attribute called 'sim.settings', which is a list with parameters describing the simulation.

For now, the only simulation parameter that makes a difference is \tau.

Value

the igraph object for the directed reporting graph


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