timesweep {rtv}R Documentation

Applying Functions to rtv Objects

Description

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.

Usage

timesweep (f, x, ...)

Arguments

f A function to apply.
x An rtv object.
... Arguments for the child function f, e.g. na.rm=TRUE.

[Package rtv version 0.3.1 Index]