Plotting function for graph level statistics for netify objects
plot_graph_stats.Rd
plot_graph_stats
takes a data frame containing graph level statistics and
generates a visual representation using either line or bar plots. This function
is designed to work with data frames that represent network statistics over
multiple networks or time points.
Arguments
- summary_df
A data frame produced by the
summary.netify
function or any other function that outputs network statistics in a similar format. The data frame should have a column "net" which identifies the network or time point for each row.- type
A character string specifying the type of plot to generate: either 'line' for line plots or 'bar' for bar plots. The default is 'line'.
- specific_stats
Optional vector of column names from
summary_df
specifying which statistics to plot. If NULL (the default), all statistics insummary_df
will be plotted.