View source: R/ITN_make_plot_function.R
ITN_make_plot | R Documentation |
This function plots a single/clean ITN
ITN_make_plot(gs, LABEL, REGION)
gs |
International Trade Network - igraph object |
LABEL |
Should labels be present - TRUE/FALSE |
REGION |
Should nodes be coloured on the basis of region TRUE/FALSE |
Panel of ITN plots
##Load graph
data("ELEnet16")
##Otherwise download data from WITS and create an
##International Trade Network using WITSclean()
##Plot the network - No Label, colour by region
ITN_plot_example<-ITN_make_plot(ELEnet16,FALSE,TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.