pipe: Pipe operator

%>%R Documentation

Pipe operator

Description

See magrittr::%>% for details.

Usage

lhs %>% rhs

Arguments

lhs

A value or the magrittr placeholder.

rhs

A function call using the magrittr semantics.

Value

The result of calling rhs(lhs).

Examples

c(1, 2, 3) %>% mean()

lehuynh documentation built on June 22, 2024, 9:35 a.m.