Rdocumentation
powered by
Learn R Programming
cocoreg (version 0.1.1)
add_notches: Add notch-like gaussian snippets to an existing signal x
Description
Add notch-like gaussian snippets to an existing signal x
Usage
add_notches(x, pos, sd = 0.01 * length(x), amplitude = 1)
Arguments
x
[1,N] numeric, Original data
pos
[1,m] integer, Positions to add notches to
sd
[1,1] numeric, (optional) Desired width of the Gaussian notch
amplitude
[1,1] numeric, (optional) Desired amplitude for the notches
Value
[1,N] numeric, Modified signal with notches