igraph-minus {igraph}R Documentation

Delete vertices or edges from a graph

Description

Delete vertices or edges from a graph

Usage

## S3 method for class 'igraph'
e1 - e2

Arguments

e1

Left argument, see details below.

e2

Right argument, see details below.

Details

The minus operator (‘-’) can be used to remove vertices or edges from the graph. The operation performed is selected based on the type of the right hand side argument:

Value

An igraph graph.

See Also

Other functions for manipulating graph structure: +.igraph(), add_edges(), add_vertices(), complementer(), compose(), connect(), contract(), delete_edges(), delete_vertices(), difference(), difference.igraph(), disjoint_union(), edge(), intersection(), intersection.igraph(), path(), permute(), rep.igraph(), reverse_edges(), simplify(), union(), union.igraph(), vertex()


[Package igraph version 2.0.3 Index]