%>% {tidyLPA} | R Documentation |
Pipe
Description
tidyLPA suggests using the pipe operator, %>%
, from the magrittr
package (imported here from the dplyr package).
Arguments
lhs , rhs |
An object and a function to apply to it |
Examples
# Instead of
subset(iris, select = c("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width"))
# you can write
iris %>%
subset(select = c("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width"))
[Package tidyLPA version 1.1.0 Index]