multiApply (Q60850)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

Apply Functions to Multiple Multidimensional Arrays or Vectors
Language Label Description Also known as
default for all languages
No label defined
    English
    multiApply
    Apply Functions to Multiple Multidimensional Arrays or Vectors

      Statements

      2.1.4
      28 March 2023
      0 references
      PACKAGES.rds
      9 July 2026
      0 references
      0.0.1
      18 July 2017
      0 references
      1.0.0
      5 February 2018
      0 references
      2.0.1
      24 November 2018
      0 references
      2.1.1
      3 September 2019
      0 references
      2.1.2
      21 January 2021
      0 references
      2.1.3
      2 February 2021
      0 references
      2.1.5
      9 September 2025
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      9 September 2025
      0 references
      BSC-CNS
      0 references
      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.
      0 references
      0 references
      0 references

      Identifiers

      0 references