Description Usage Arguments Value References Examples
View source: R/plot_ego_tergm.R
This function assists the user in interpreting output from the ego_tergm function.
1 2 | plot_ego_tergm(ego_tergm_fit = NULL, plot_indices = NULL,
node.size = 6, edge.size = 1, edge.color = "grey")
|
ego_tergm_fit |
The output from a fitted "ego_tergm". |
plot_indices |
A vector of indices reflecting the time steps that plots should be returned for. In networks observed over many time intervals it may be unrealistic to plot every network. |
node.size |
The size of the nodes fed to ggnet2. |
edge.size |
The size of the edges fed to ggnet2. |
edge.color |
The color of edges fed to ggnet2. |
A list of network plots with nodes colored by role assignment.
Campbell, Benjamin W. (2018): Inferring Latent Roles in Longitudinal Networks. Political Analysis 26(3): 292-311. https://doi.org/10.1017/pan.2018.20
1 2 3 | plots <- plot_ego_tergm(ego_tergm_fit = ego_tergm_fit)
plots[[1]]
plots[[2]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.