如果您从 R 中使用 igraph,请使用此选项
| 简化 {igraph} | R 文档 |
用于删除多重边和自环边的构造函数修饰符
simplified()
其他构造函数修饰符:with_edge_(), with_graph_(), with_vertex_(), without_attr(), without_loops(), without_multiples()
sample_(pa(10, m = 3, algorithm = "bag"))
sample_(pa(10, m = 3, algorithm = "bag"), simplified())