local.summary {streamDAG}R Documentation

local (nodal) summaries of a DAG

Description

Obtains local (nodal) summaries from a DAG

Usage


local.summary(G, metric = "all", mode = "in")

Arguments

G

Graph of class "igraph". See graph_from_literal

metric

One of "all", "alpha.cent", "imp.closeness", "n.paths", "n.nodes", "page.rank", "path.len.summary", "path.deg.summary", "size.intact.in". Partial matches allowed.

mode

One of "in" or "out"

Value

Nodes are returned with values measuring the indegree, alpha centrality, PageRank centrality, improved closeness centrality, betweenness centrality, upstream network length, and upstream in-path length mean, variance, max (i.e., in-eccentricity), skew, kurtosis, and mean efficiency.

Author(s)

Ken Aho, Gabor Csardi wrote degree, page_rank and alpha_centrality functions.

See Also

degree, alpha_centrality, page_rank, betweenness, imp.closeness, skew, kurt

Examples

network_a <- graph_from_literal(a --+ b, c --+ d, d --+ e, b --+ e, 
e --+ j, j --+ m, f --+ g, g --+ i, h --+ i, i --+ k, k --+ l, 
l --+ m, m --+ n,  n --+ o)
local.summary(network_a)

[Package streamDAG version 1.5 Index]