reporting_graph_detailed.imperfect_reporting: Create a detailed reporting graph from a social network...

View source: R/reporting_graph.R

reporting_graph_detailed.imperfect_reportingR Documentation

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

Description

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

Usage

## S3 method for class 'imperfect_reporting'
reporting_graph_detailed(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 tibble object with rows for the directed reporting graph


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