R package for generating reports about graphs.
devtools::install_github ('karpfen/graphreport')
# create random sample graph with 50 edges
n <- 50
from <- as.integer (runif (min = 0, max = 100, n))
to <- as.integer (runif (min = 0, max = 100, n))
weight <- runif (n)
graph <- data.frame (from, to, weight)
generate_graph_report (graph)
sizes <- get_graph_sizes (graph)
length (sizes) # print the number of graphs
sizes # print the size of every graph
degrees <- get_node_degrees (graph)
summary (degrees)
get_edge_weight_summary (graph, 5)
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.