Learn R Programming

wrapr (version 1.9.6)

locum: Build a stand in for a future value to be placed in a pipe.

Description

The locum stands in for a value to be specified later in a pipeline. This is similar to a lambda or function abstraction.

Usage

locum()

Arguments

Value

a locum stand-in

Examples

Run this code
# NOT RUN {
p <- locum() %.>% sin(.)
5 %.>% p

# }

Run the code above in your browser using DataLab