edge.weight.skewness: Estimate skewness of the edge weight distribution for each...

Description Usage Arguments Examples

View source: R/measurment_functions_NODES.R

Description

This function will calculate the skewness of edge weights from nodes in a graph.

Usage

1
edge.weight.skewness(graph1, type = "all")

Arguments

graph1

An igraph object.

type

The type of edges to pull from the graph: 'in', 'out', or 'all'. In non-directed graphs this is ignored.

Examples

1
2
3
4
5
6
7
8
library(igraph)

#Random graph
graph1 <- random.graph.game(n=10, p.or.m = 0.3)
E(graph1)$weight <- c(1,2,3,4,5,6,7,7,7,7)

#skewness
edge.weight.skewness(graph1)

tbonne/netTS documentation built on July 26, 2021, 2:27 a.m.