新图将包含输入图指定次数,作为不连通的组件。
用法
# S3 method for class 'igraph'
rep(x, n, mark = TRUE, ...)
# S3 method for class 'igraph'
x * n
参见
用于操作图结构的其他函数:+.igraph()
, add_edges()
, add_vertices()
, complementer()
, compose()
, connect()
, contract()
, delete_edges()
, delete_vertices()
, difference()
, difference.igraph()
, disjoint_union()
, edge()
, igraph-minus
, intersection()
, intersection.igraph()
, path()
, permute()
, reverse_edges()
, simplify()
, union()
, union.igraph()
, vertex()
示例
rings <- make_ring(5) * 5