gplot:
make a plot for directional graph from edge matrix graph form
Description
can change the link line style and color, can add arrows at the ending points,
this function requires an edge matrix form of graphs, compared to another similar
function 'gplot1'.
graph edge matrix form, without confusion, 'loop' package will have two types
for the graph storage: square matrix from (argument is 'gemat') and edge matrix
form (argument is 'edgemat').
arrow
default is TRUE, denoting arrows should be added in the plot
lty
line style for each graph link
col
line color for each graph link
weighted
if TRUE, the links/edges will be weighted based on the value present in the 3rd column of edgemat,
different edges then will have different line widths for representing them. Otherwise, all edges
have the same line width. Default is TRUE
References
Chen Y (2012) loop: an R package for performing decomposition of weighted
directed graphs, food web analysis and flexible network plotting. Submitted.