timesweep {rtv} | R Documentation |
This is a convenience function for applying typical mathematical functions to rtv objects. Many rtv methods use this function. See the source for mean.rtv for an example.
timesweep (f, x, ...)
f |
A function to apply. |
x |
An rtv object. |
... |
Arguments for the child function f, e.g. na.rm=TRUE. |