mapply, this function applies a given function to each data component in
the input multiData arguments, and optionally simplify the result to an array if possible.mtd.mapply(FUN, ..., MoreArgs = NULL,
mdmaSimplify = FALSE,
mdma.doCollectGarbage = FALSE,
mdma.argIsMultiData = NULL)FUN.FALSE if that happens.FUN?.... If not given, multiData status will be determined using
isMultdata components) the results of FUN. If
simplification is successful, an array instead.data component. In a "strict" multiData structure, the
data components are required to each be a matrix or a data frame and have the same number of
columns. In a "loose" multiData structure, the data components can be anything (but for most
purposes should be of comparable type and content).This function applies the function FUN to each data component of those arguments in
... that are multiData structures in the "loose" sense,
and to each component of those arguments in ... that are
not multiData structures.
multiData.apply for application of a function to a single multiData structure.