pipe: Pipe

%>%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"))

data-edu/tidyLPA documentation built on Feb. 24, 2024, 10:04 p.m.