Redef.functions {shp2graph} | R Documentation |
A function to provide a collection of functions to redefine attributes of edited edges in the functions PN.amalgamation and ME.simplification.
Redef.functions(v, typ=1)
v |
An input vector for the specified function; |
typ |
A value equalling to 1, 2, 3 or 4 to specify a redefinition function: 1->sum(v) 2->min(v) 3->max(v) 4->mean(v) |
It is easy to include more specific methods for attribute redefinition via incorporating the corresponding functions. In other words, you can define more methods by numbering them with 5, 6, etc.
Binbin Lu lubinbin220@gmail.com