fcp (Q5979239)

From MaRDI portal
Function Composition
Language Label Description Also known as
English
fcp
Function Composition

    Statements

    0 references
    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
    0.1.0
    5 December 2023
    0 references
    0 references
    0 references
    0 references