ergm.getnetwork {ergm} | R Documentation |
Acquire and verify the network from the LHS of an ergm
formula
and verify that it is a valid network.
Description
The function function ensures that the network in a given formula is valid; if so, the network is returned; if not, execution is halted with warnings.
Usage
ergm.getnetwork(formula, loopswarning = TRUE)
Arguments
formula |
a two-sided formula whose LHS is a |
loopswarning |
whether warnings about loops should be printed
( |
Value
A network
object constructed by evaluating the LHS of
the model formula in the formula's environment.
[Package ergm version 4.6.0 Index]