existing_params: create a parameter object for an existing igraph

Description Usage Arguments Details Value Examples

View source: R/existing_igraph.R

Description

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

Usage

1

Arguments

params

the parameters

Details

The params vector should have at least three entries:

'

Value

an object with the parameters

Examples

1
2
3
my_params <- existing_params(list(group.names=c('a', 'b', 'c', 'd'),
                                  gps.in.F=c('b', 'c'),
                                  gps.in.H=c('a', 'b')))

dfeehan/nrsimulatr documentation built on June 12, 2018, 4:27 a.m.