ITNcorr: ITN Correlation Plot

View source: R/ITNcorr_function.R

ITNcorrR Documentation

ITN Correlation Plot

Description

This function plots the correlation between degree and strength scores

Usage

ITNcorr(gs)

Arguments

gs

International Trade Network - igraph object

Value

Correlation plot

Examples

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)


MatthewSmith430/ITNr documentation built on April 15, 2024, 8:05 a.m.