Skip to contents

Combine time-series from higher resolution to lower resolution.

Usage

combine_integ(time, var, new.integ.ms = 20)

Arguments

time

numeric Vector of times from the time-series (x-axis).

var

numeric Vector of observations from the time-series (y-axis).

new.integ.ms

numeric New integration time for the returned time-series. Use same units as main time-series.

Value

A data frame

Details

Timeseries of observations at different time steps, e.g. 10 ms and 30 ms are combined into a new data frame. Higher resolution needs to be a multiple of lower resolution.