Learn R Programming

igraph (version 1.2.7)

without_loops: Constructor modifier to drop loop edges

Description

Constructor modifier to drop loop edges

Usage

without_loops()

Arguments

See Also

Other constructor modifiers: simplified(), with_edge_(), with_graph_(), with_vertex_(), without_attr(), without_multiples()

Examples

Run this code
# NOT RUN {
# An artificial example
make_(full_graph(5, loops = TRUE))
make_(full_graph(5, loops = TRUE), without_loops())
# }

Run the code above in your browser using DataLab