View source: R/plotting_simulation.R
Plot the ERGM and VCERGM results when nsim > 1
1 2 3 | plotting_simulation(object, true.phi, ergm.phi.hat, ergm.phi.hat.smooth,
vcergm.phi.hat, interval = 10, label = NULL, theme = NULL,
quantile = FALSE)
|
object |
A formula object of the form (network object) ~ <model terms>. Model terms take the same form of ERGM terms from R package 'ergm'. |
true.phi |
TRUE phi(t) functions (number of network statistics x K vector) |
ergm.phi.hat |
Estimated phi(t) from cross-sectional ERGMs. It should be a list of length nsim. For each simulation, the estimated phi.hat is a (number of network statistics x K) matrix. |
ergm.phi.hat.smooth |
Estimated phi(t) from ad hoc 2-step procedure. |
vcergm.phi.hat |
Estimated phi(t) from VCERGM. |
theme |
ggplot theme. Default is NULL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.