without_loops: Constructor modifier to drop loop edges

View source: R/make.R

without_loopsR Documentation

Constructor modifier to drop loop edges

Description

Constructor modifier to drop loop edges

Usage

without_loops()

See Also

Constructor modifiers (and related functions) make_(), sample_(), simplified(), with_edge_(), with_graph_(), with_vertex_(), without_attr(), without_multiples()

Examples

# An artificial example
make_(full_graph(5, loops = TRUE))
make_(full_graph(5, loops = TRUE), without_loops())

igraph documentation built on Oct. 20, 2024, 1:06 a.m.