MEAmap {rMEA} | R Documentation |
Apply a function to a single or a list of MEA objects
Description
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.
Usage
MEAmap(mea, FUN, label = "", ...)
Arguments
mea |
an object of class |
FUN |
function to apply, found via |
label |
a character vector to update the 'filter' attribute of |
... |
further arguments passed to |
Details
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.
Value
an object of the same class of the provided 'mea'
object, with the transformed motion energy data
[Package rMEA version 1.2.2 Index]