This function simplfies multiple-edge into one representative edge, where multiple-edge refers to a set of edges sharing with the same pair of nodes.
ME.simplification(nodelist, edgelist, eadf=NULL, ea.prop=NULL, Directed=F,
DegreeL=NULL, InDegreeL=NULL, OutDegreeL=NULL,Nexception=NULL,
Eexception=NULL)
A “nodelist” object
An “edgelist” object
Attribute data frame for all the edges, of which the number of rows equals to the number of edges;
a vector (of lenght equal to the number of columns in “eadf”) consisted of 1, 2, 3 or 4, and one value cooresponds to a kind of redefination function, see Redef.functions;
A logical parameter to specify whether edges are directed or not;
A vector (of length equal to the number of nodes) of degrees for the nodes, and it should be NULL if “Directed” is TRUE;
A vector (of length equal to the number of nodes) of in-degrees for the nodes;
A vector of out-degrees for the nodes;
A vector of node IDs considered as exceptions, and all the nodes included won't be processed;
A vector of edge IDs considered as exceptions, and all the edges included won't be processed;
Two types of list for “undirected” and “directed” edges respectively:
For “undirected” network:
The new nodelist with multiple-edges simplified;
The new edgelist with multiple-edges simplified;
The new attribute data frame for the returned edgelist;
The new degree vector cooresponding to the returned nodelist;
The new nodelist with multiple-edges simplified;
The new edgelist with multiple-edges simplified;
The new attribute data frame for the returned edgelist;
The new in-degree vector cooresponding to the returned “nodelist”;
The new out-degree vector cooresponding to the returned “nodelist”;