Skip to contents

regularizes a supplied vector or data.frame on basis on an supplied counter, timestamp, etc.

Usage

regularize(x, ts = NULL, Hz = 1, ...)

Arguments

x

the supplied vector or data.frame.

ts

vector of sample times, one per row of x.

Hz

The (regular) resolution of the output, default 1 generates one per second.

...

Other arguments, currently ignored.

Note

If counter is numeric, it is assumed to be reported in 1 second units.

Author

Karl Ropkins