Earth Sciences

Earth Sciences Wiki

User Tools

Site Tools


tools:multiapply

multiApply

This package includes the function Apply as its only function. It extends the apply function to applications in which a function needs to be applied simultaneously over multiple input arrays. Although this can be done manually with for loops and calls to the base apply function, it can often be a challenging task which can easily result in error-prone or memory-inefficient code.

Most of the functions integrated into s2dv, CSTools and ClimProjDiags, are using Apply internally in order to work in N-Dimensional arrays with named dimensions and be fully compatible with startR workflow.

multiApply is published on CRAN since July 2017: https://CRAN.R-project.org/package=multiApply

More information available in its GitLab project multiApply.

tools/multiapply.txt · Last modified: 2020/11/26 12:59 by nperez