igraph (version 1.2.3)

simplified: Constructor modifier to drop multiple and loop edges

Description

Constructor modifier to drop multiple and loop edges

Usage

simplified()

Arguments

See Also

Other constructor modifiers: with_edge_, with_graph_, with_vertex_, without_attr, without_loops, without_multiples

Examples

Run this code
# NOT RUN {
sample_(pa(10, m = 3, algorithm = "bag"))
sample_(pa(10, m = 3, algorithm = "bag"), simplified())
# }

Run the code above in your browser using DataCamp Workspace