Learn R Programming

networkLite (version 1.1.0)

add.vertices.networkLite: Add Vertices to a networkLite.

Description

Add Vertices to a networkLite.

Usage

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

Value

A networkLite object with vertices added.

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