Learn R Programming

intensitynet (version 1.3.1)

SetNetworkAttribute.intensitynet: Set attributes to the network edges or nodes

Description

Set attributes to the network edges or nodes

Usage

# S3 method for intensitynet
SetNetworkAttribute(obj, where, name, value)

Value

intensitynet object containing the network with the added attributes

Arguments

obj

intensitynet object

where

'vertex' or 'edge', where to set the attribute

name

name of the attribute

value

vector containing the data for the attribute