View source: R/PulseWaveform.R
model2.Peak | R Documentation |
model2.Peak generates a sine wave from the three parameters used to define each component wave (timing, width, and amplitude).
model2.Peak(time, peakParams)
time |
x-axis values of the sine wave |
peakParams |
vector of three parameters defining a given peak |
result |
sine wave constructed from model peak parameters |
result <- result + model2.Peak(xy[,1],params[3:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.