Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

freduce

Apply a list of functions sequentially


Description

This function applies the first function to value, then the next function to the result of the previous function call, etc.

Usage

freduce(value, function_list)

Arguments

value

initial value.

function_list

a list of functions.

Value

The result after applying each function in turn.


magrittr

A Forward-Pipe Operator for R

v2.0.1
MIT + file LICENSE
Authors
Stefan Milton Bache [aut, cph] (Original author and creator of magrittr), Hadley Wickham [aut], Lionel Henry [cre], RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.