fcp (Q5979239): Difference between revisions
From MaRDI portal
Changed an Item |
Changed an Item |
||
Property / MaRDI profile type | |||
Property / MaRDI profile type: MaRDI software profile / rank | |||
Normal rank |
Revision as of 14:12, 7 March 2024
Function Composition
Language | Label | Description | Also known as |
---|---|---|---|
English | fcp |
Function Composition |
Statements
A function composition operator to chain a series of calls into a single function, mimicking the math notion of (f o g o h)(x) = h(g(f(x))). Inspired by 'pipeOp' ('|>') since R4.1 and 'magrittr pipe' ('%>%'), the operator build a pipe without putting data through, which is best for anonymous function accepted by utilities such as apply() and lapply().
0 references
5 December 2023
0 references
expanded from: GPL (≥ 2) (English)
0 references