ITNcorr: ITN Correlation Plot

Description Usage Arguments Value Examples

View source: R/ITNcorr_function.R

Description

This function plots the correlation between degree and strength scores

Usage

1
ITNcorr(gs)

Arguments

gs

International Trade Network - igraph object

Value

Correlation plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(igraph)

##Create random International Trade Network (igraph object)
ITN<-erdos.renyi.game(75,0.05,directed = TRUE)

##Add edge weights
E(ITN)$weight<-runif(ecount(ITN), 0, 1)

##Plot correlation matrix between degree and strength scores.
corr_plot<-ITNcorr(ITN)

ITNr documentation built on March 13, 2020, 1:48 a.m.

Related to ITNcorr in ITNr...