add.node: Add a new node in between two nodes in an igraph graph

View source: R/river_networks.R

add.nodeR Documentation

Add a new node in between two nodes in an igraph graph

Description

This increases the size of the graph by the number of new nodes

Usage

add.node(g, from, to)

Arguments

g

an igraph graph

from

a vector of node IDs

to

a vector of node IDs

Details

Description - This function does stuff.

Value

an igraph graph


Faskally/rc documentation built on Sept. 21, 2023, 1:16 p.m.