Nothing
#' @title ITN Degree Distribution
#'
#' @description This function plots the ITN (probability) degree distribtuion
#' @param gs International Trade Network - igraph object
#' @export
#' @return Panel of ITN degree distribution plots
#' @examples
#' require(igraph)
#'
#' ##Create random International Trade Network (igraph object)
#' ITN<-erdos.renyi.game(75,0.05,directed = TRUE)
#'
#' ##Plot degree distribution
#' deg_dist_plot<-ITNdegdist(ITN)
#'
ITNdegdist<-function(gs){
inplot<-plot_degree_distribution(gs,"in")
outplot<-plot_degree_distribution(gs,"out")
allplot<-plot_degree_distribution(gs,"all")
cowplot::plot_grid(inplot,outplot,allplot,labels=c("A","B","C"),ncol=2)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.