| ergm.getglobalstats {ergm} | R Documentation |
The ergm.getglobalstats function is a low-level function not normally called by the user. It calculates and returns the global statistics for a given network and model.
ergm.getglobalstats(nw, m, response = NULL)
nw |
a |
m |
the model in use with network |
response |
character name of an edge attribute to be used (for weighted ergm models) |
Calculates and returns the global statistics for a given network via ergm.Cprepare and network_stats_wrapper.C or wt_network_stats_wrapper.C if the model is weighted. It is called by summary.statistics.network which is generally the better way to access the functionality.
returns a vector of the global statistics