ergm.clean.n.convert: ergm.clean.n.convert

Description Usage Arguments Value

View source: R/graph-and-ergm-fcns.R

Description

the ergms packages can't handle some types of information, like factors and NAs. This applies final cleans neccessary for an ERGM to run without error and then coerces to network object.

Usage

1
ergm.clean.n.convert(gh, pop.floor = 0)

Arguments

population.floor

Applies a population floor. Will assume a node-based pop column to filter by

Value

a network object for use with statnet libraries.


kmcd39/divflow documentation built on Dec. 21, 2021, 7:38 a.m.