add_vertices: Add Vertices to a 'networkLite'.

add.vertices.networkLiteR Documentation

Add Vertices to a networkLite.

Description

Add Vertices to a networkLite.

Usage

## S3 method for class 'networkLite'
add.vertices(x, nv, vattr = NULL, last.mode = TRUE, ...)

Arguments

x

A networkLite object.

nv

Number of vertices to add to the networkLite.

vattr

A list (of length nv) of named lists of vertex attribute values for added vertices, or NULL to indicate vertex attribute values are not being passed.

last.mode

logical; if x is bipartite, should the new vertices be added to the second mode?

...

additional arguments

Value

A networkLite object with vertices added.


networkLite documentation built on April 3, 2025, 11:08 p.m.