Crandore Hub

fcp

Function Composition

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().

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling source/ R- fcp_0.1.0.tar.gz 3.9 KiB
0.1.0 latest source/ R- fcp_0.1.0.tar.gz 3.9 KiB
0.1.0 2026-04-23 source/ R- fcp_0.1.0.tar.gz 3.9 KiB
0.1.0 2026-04-09 windows/windows R-4.5 fcp_0.1.0.zip 15.9 KiB