changefs | R Documentation |
Change sampling rate of a ctd
object.
changefs(ctd_obj, new_fs)
ctd_obj |
object of class |
new_fs |
positive scalar indicating the new sampling frequency. |
Changing the sampling rate is done using the resample
function in the
gsignal
package.
A ctd
object containing the resampled data.
Geert van Boxtel, G.J.M.vanBoxtel@gmail.com
resample
data(EEGdata)
down <- changefs(EEGdata, 100)
up <- changefs(EEGdata, 512)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.