generate_graph.existing_igraph: create a social network from an existing igraph object

View source: R/existing_igraph.R

generate_graph.existing_igraphR Documentation

create a social network from an existing igraph object

Description

Given an existing igraph object, add attributes for the frame population and for the hidden population.

Usage

## S3 method for class 'existing_igraph'
generate_graph(params, g)

Arguments

params

an optional list containing hidden.pop and frame.pop

Value

the igraph object with each vertex's hidden and frame pop membership indicated by in.F and in.H


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