attSGe {SpatialGraph}R Documentation

Add or Modify attributes in SpatialGraph edges

Description

Add or Modify attributes in SpatialGraph edges

Usage

attSGe(SG, att, eID, val, default)

Arguments

SG

SpatialGraph

att

name of the field [column] in the edge dataframe to be added/modified

eID

edge identifiers [row.names of the edge data.frame]

val

values corresponding the eID above

default

default values for edges not considered in eID above

Value

A SpatialGraph


[Package SpatialGraph version 1.0-4 Index]