AddIDsToVertices {CausalR}R Documentation

add IDs to vertices

Description

Adds the IDs as a vertex property to the vertices in the network. Used when creating sub-networks where the new nodes will retain the IDs from their original network

Usage

AddIDsToVertices(network)

Arguments

network

the network to which the IDs are to be added

Value

network with IDs added


[Package CausalR version 1.16.0 Index]