set.network: Set a given network to contain the given links

View source: R/incgraph_wrapper.R

set.networkR Documentation

Set a given network to contain the given links

Description

set.network sets a given network to contain the given links.

Usage

set.network(network, links)

Arguments

network

An instance of the incgraph.network class

links

A matrix with 2 columns and N rows, 1 row for each edge to be loaded in the network

Details

This first resets the network and adds all given links. For minor changes to the network, the usage of flip() is recommended.

See Also

See new.incgraph.network() for examples and usage.


incgraph documentation built on April 3, 2025, 7:11 p.m.