resample_signal {rticulate} | R Documentation |
Resample (up or down) a signal
Description
Resample (up or down) a signal
Usage
resample_signal(
signal,
time,
by = 2,
to = NULL,
from = NULL,
method = "interpolation"
)
Arguments
signal |
The signal to resample. |
time |
The time vector of the signal to resample. |
by |
The factor by which to resample the signal (default is |
to |
The frequency to resample to. |
from |
The original sampling frequency. |
method |
Resampling method (default is |
Value
A list with the resampled signal and time if methdo = "interpolate"
.
[Package rticulate version 2.0.1 Index]