Learn R Programming

wrapr (version 1.9.6)

fnlist: Wrap a list of functions as a function.

Description

Unary functions are evaluated in left to right or first to last order.

Usage

fnlist(...)

Arguments

...

UnaryFn derived instances.

Value

UnaryFnList

See Also

pkgfn, wrapfn, srcfn

Examples

Run this code
# NOT RUN {
f <- fnlist(pkgfn("base::sin", "x"), pkgfn("base::cos", "x"))
cat(format(f))
1:3 %.>% f

# }

Run the code above in your browser using DataLab