fn: A shorthand for writing out R functions.

Description Usage Arguments Examples

Description

A shorthand for writing out R functions.

Usage

1

Arguments

...

list. The last argument specifies the funciton body, the non-last arguments specify the formals.

Examples

1
2
add <- fn(x, y, x + y)
add(2, 3)

peterhurford/funtools documentation built on May 25, 2019, 1:50 a.m.