ergmformula and verify that it is a valid network.
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.
ergm.getnetwork(formula, loopswarning = TRUE)
a two-sided formula whose LHS is a
whether warnings about loops should be printed
network object constructed by evaluating the LHS of
the model formula in the formula's environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.