DESCRIPTION 1.74 KB
Newer Older
Alasdair Hunter's avatar
Alasdair Hunter committed
Package: multiApply
Title: Apply Functions to Multiple Multidimensional Arrays or Vectors
Nicolau Manubens's avatar
Nicolau Manubens committed
Version: 2.0.0
Alasdair Hunter's avatar
Alasdair Hunter committed
Authors@R:   c(
    person("BSC-CNS", role = c("aut", "cph")),
    person("Nicolau", "Manubens", , "nicolau.manubens@bsc.es", role = "aut"),
Nicolau Manubens's avatar
Nicolau Manubens committed
    person("Alasdair", "Hunter", , "alasdair.hunter@bsc.es", role = "aut"),
    person("Nuria", "Perez", , "nuria.perez@bsc.es", role = "cre"))
Nicolau Manubens's avatar
Nicolau Manubens committed
Description: 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 numeric 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-unefficient 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. 
Alasdair Hunter's avatar
Alasdair Hunter committed
Depends:
    R (>= 3.2.0)
Imports:
    plyr
Alasdair Hunter's avatar
Alasdair Hunter committed
License: LGPL-3
Alasdair Hunter's avatar
Alasdair Hunter committed
URL: https://earth.bsc.es/gitlab/ces/multiApply
BugReports: https://earth.bsc.es/gitlab/ces/multiApply/issues
Alasdair Hunter's avatar
Alasdair Hunter committed
Encoding: UTF-8
LazyData: true
RoxygenNote: 5.0.0