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)network object
nw, as returned by ergm.getmodel
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.
summary.statistics.network