R igraph manual pages

Use this if you are using igraph from R

%>% {igraph}R Documentation

Magrittr's pipes

Description

igraph re-exports the %>% operator of magrittr, because we find it very useful. Please see the documentation in the magrittr package.

Arguments

lhs

Left hand side of the pipe.

rhs

Right hand side of the pipe.

Value

Result of applying the right hand side to the result of the left hand side.

Examples

make_ring(10) %>%
  add_edges(c(1,6)) %>%
  plot()

[Package igraph version 1.3.1 Index]