-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
e6a0821
commit ec3193c
Showing
7 changed files
with
74 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
|
||
# R project files | ||
.Rproj.user | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Generated by roxygen2 (4.0.1): do not edit by hand | ||
|
||
export("%>%") | ||
export("%:>%") | ||
export("%>>%") | ||
export("%|>%") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
% Generated by roxygen2 (4.0.1): do not edit by hand | ||
\name{first-argument piping} | ||
\alias{\%>\%} | ||
\alias{\%>>\%} | ||
\alias{first-argument piping} | ||
\title{Pipe an object forward as the first argument to a function} | ||
\usage{ | ||
. \%>\% fun | ||
. \%>>\% fun | ||
} | ||
\arguments{ | ||
\item{.}{The object to be piped as the first argument} | ||
|
||
\item{fun}{The function call to evaluate with the piped object as the first argument.} | ||
} | ||
\description{ | ||
The \code{\%>\%} operator evaluates the function call on the right-hand side | ||
The \code{\%>>\%} operator evaluates the function call on the right-hand side | ||
with the left-hand side object being the first argument. | ||
} | ||
\examples{ | ||
\dontrun{ | ||
rnorm(100) \%>\% plot | ||
rnorm(100) \%>>\% plot | ||
|
||
rnorm(100) \%>\% plot(col="red") | ||
rnorm(100) \%>>\% plot(col="red") | ||
|
||
rnorm(1000) \%>\% sample(size=100,replace=F) \%>\% hist | ||
rnorm(1000) \%>>\% sample(size=100,replace=F) \%>>\% hist | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters