Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

listNodePairs

List node pairs


Description

Create the list of all node pairs

Usage

listNodePairs(n, directed = TRUE)

Arguments

n

Total number of nodes

directed

Boolean for directed (TRUE) or undirected (FALSE) case

Value

Matrix with two columns which lists all the possible node pairs. Each row is a node pair.

Examples

# List all the node pairs with 10 nodes, for directed and undirected graphs

n <- 10
listNodePairs(n, TRUE)
listNodePairs(n, FALSE)

ppsbm

Clustering in Longitudinal Networks

v0.2.2
GPL (>= 2)
Authors
D. Giorgi, C. Matias, T. Rebafka, F. Villers
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.