compare_predictions_plot: Compare FERGM to ERGM predictions via plot. This is a plot...

View source: R/compare_predictions_plot.R

compare_predictions_plotR Documentation

Compare FERGM to ERGM predictions via plot. This is a plot function to compare the distributions of predictions from ergm and fergm objects.

Description

Compare FERGM to ERGM predictions via plot. This is a plot function to compare the distributions of predictions from ergm and fergm objects.

Usage

compare_predictions_plot(compare_predictions_out = NULL)

Arguments

compare_predictions_out

Matrix of correctly predicted ties produced by the compare_predictions function.

Value

The compare_predictions_plot function returns a ggplot2 plot of the density of the percent of correctly predicted ties simulated by the compare_predictions function.

References

Box-Steffensmeier, Janet M., Dino P. Christenson, and Jason W. Morgan. 2018. “Modeling Unobserved Heterogeneity in Social Networks with the Frailty Exponential Random Graph Model." Political Analysis. (26)1:3-19.

Stan Development Team (2016). RStan: the R interface to Stan. R package version 2.14.1. http://mc-stan.org/.


benjamin-w-campbell/fergm documentation built on April 24, 2022, 6:40 a.m.