Learn R Programming

wrapr (version 2.1.0)

f.: Build an anonymous function of dot.

Description

Build an anonymous function of dot.

Usage

f.(body, env = parent.frame())

Value

user defined function.

Arguments

body

function body

env

environment to work in.

See Also

lambda, defineLambda, named_map_builder, makeFunction_se

Examples

Run this code

f <- f.(sin(.) %.>% cos(.))
7 %.>% f


Run the code above in your browser using DataLab