Learn R Programming

GERGM (version 0.13.0)

conditional_edge_prediction_plot: A Function generate edge prediction plots.

Description

Plots edgewise predictions generated by the `conditional_edge_prediction()` function.

Usage

conditional_edge_prediction_plot(edge_prediction_results, filename, plot_size,
  node_name_cex = 1)

Arguments

edge_prediction_results

A list object returned by the `conditional_edge_prediction()` function.

filename

The name of the file the user would like to save the plots in. Should be something along the lines of "edge_plots.pdf"

plot_size

A single number specifying the dimensions of the PDF output file. This will automatically be square so only one number is required.

node_name_cex

The cex for node names (printed on the diagonal). Defaults to 1, but can be increased to make these easier to see.

Value

Saves a PDF plot to the current working directory