get_edge_weight_summary: Get summary of edge weights

Description Usage Arguments Value Examples

Description

Get summary of edge weights

Usage

1
get_edge_weight_summary(graph, n = 10)

Arguments

graph

data.frame containing the graph. must have columns from, to and weight, so each row defines an edge.

n

The desired number of quantiles.

Value

data.frame containing the graph's edge weights divided into a given number of quantiles.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
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)

get_edge_weight_summary (graph = graph, n = 5)

## End(Not run)

karpfen/graphreport documentation built on May 7, 2019, 8:02 a.m.