multiApply
Apply Functions to Multiple Multidimensional Arrays or Vectors
The base apply function and its variants, as well as the related functions in the 'plyr' package, typically apply user-defined functions to a single argument (or a list of vectorized arguments in the case of mapply). The 'multiApply' package extends this paradigm with its only function, Apply, which efficiently applies functions taking one or a list of multiple unidimensional or multidimensional arrays (or combinations thereof) as input. The input arrays can have different numbers of dimensions as well as different dimension lengths, and the applied function can return one or a list of unidimensional or multidimensional arrays as output. This saves development time by preventing the R user from writing often error-prone and memory-inefficient loops dealing with multiple complex arrays. Also, a remarkable feature of Apply is the transparent use of multi-core through its parameter 'ncores'. In contrast to the base apply function, this package suggests the use of 'target dimensions' as opposite to the 'margins' for specifying the dimensions relevant to the function to be applied.
- Version2.1.4
- R version≥ 3.2.0
- LicenseGPL-3
- Needs compilation?No
- Last release03/28/2023
Documentation
Team
An-Chi Ho
BSC-CNS
Show author detailsRolesAuthor, Copyright holderNicolau Manubens
Show author detailsRolesAuthorAlasdair Hunter
Show author detailsRolesAuthorNuria Perez
Show author detailsRolesContributor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Imports3 packages
- Suggests1 package
- Reverse Imports5 packages