File: pipe.Rd

package info (click to toggle)
r-cran-igraph 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,772 kB
  • sloc: ansic: 206,420; cpp: 21,827; fortran: 4,090; yacc: 1,229; lex: 518; sh: 52; makefile: 8
file content (24 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/igraph-package.R
\name{\%>\%}
\alias{\%>\%}
\title{Magrittr's pipes}
\arguments{
\item{lhs}{Left hand side of the pipe.}

\item{rhs}{Right hand side of the pipe.}
}
\value{
Result of applying the right hand side to the
result of the left hand side.
}
\description{
igraph re-exports the \verb{\%>\%} operator of magrittr, because
we find it very useful. Please see the documentation in the
\code{magrittr} package.
}
\examples{
make_ring(10) \%>\%
  add_edges(c(1, 6)) \%>\%
  plot()
}