View source: R/compare_SIR_erg_ens.R
compare_SIR_erg_ens | R Documentation |
compare_SIR_erg_ens calculates multiple metrics of comparison between maximally complete networks and Erdos-Renyi random graphs for clustered SIR simulations
compare_SIR_erg_ens(sim_erg_output, sim_max_output, n_min)
sim_erg_output |
output of SIR simulations over all Erdos-Renyi random graphs, preferably in the format of a nested list, where the first level corresponds to the number of nodes, the second level to percent completion of ties, and the final to the sample number |
sim_max_output |
output of SIR simulations over all maximally complete graphs |
n_min |
minimum number of nodes in the maximally complete graphs |
a data frame where each row corresponds to a row in sim_erg_output, and the columns represent (in this order): mean observed (Erdos-Renyi) value, standard deviation of the observed values, mean expected (effective network size prediction) value, standard deviation of expected values, Kolmogorov-Smirnov (K-S) test D-statistic, K-S test p-value, number of nodes in observed network, percent of ties present in observed network, and the sample number of the observed network (within its node counts and percent completion)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.