Redef.functions {shp2graph}R Documentation

A collection of functions for redefining attributes of edited edges

Description

A function to provide a collection of functions to redefine attributes of edited edges in the functions PN.amalgamation and ME.simplification.

Usage

Redef.functions(v, typ=1)

Arguments

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)

Note

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.

Author(s)

Binbin Lu binbinlu@whu.edu.cn


[Package shp2graph version 1-0 Index]