MEApply is a wrapper to do.call
that allows to apply a function on the motion energy data of one or multiple MEA
objects. Complex constructions are possible, see details.
MEAmap(mea, FUN, label = "", ...)
an object of class MEA
or a list of MEA
objects (see function readMEA
)
function to apply, found via match.fun
.
a character vector to update the 'filter' attribute of mea
.
further arguments passed to FUN
. If a function is provided,
it will be run on each MEA object and then passed as an argument to FUN
.
an object of the same class of the provided 'mea'
object, with the transformed motion energy data
FUN
will be applied on the motion energy time-series of MEA
objects, which is stored as a data frame with 2 columns, respectively for s1 and s2.