Resample (up or down) a signal
resample_signal(
signal,
time,
by = 2,
to = NULL,
from = NULL,
method = "interpolation"
)A list with the resampled signal and time if methdo = "interpolate".
The signal to resample.
The time vector of the signal to resample.
The factor by which to resample the signal (default is 2).
The frequency to resample to.
The original sampling frequency.
Resampling method (default is interpolate which uses approx).