View source: R/find_example_simulated_networks.R
find_example_simulated_network | R Documentation |
Find an example simulated network that is the minimum Frobenius distance from the observed network.
find_example_simulated_network(GERGM_Object, observed_network,
objective = c("Frobenius", "Likelihood"))
GERGM_Object |
The object returned by the estimation procedure using the GERGM function. |
observed_network |
The observed network used as the dependent variable in the original gergm() specification. |
objective |
Defaults to "Frobenius", in which case the Frobenius norm is used to find the simulated network that is most similar to the observed network. Can also be "Likelihood", in which case the model log likelihood is used to select the network to display. |
A simulated network (as a matrix object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.