View source: R/calc_gaussian_function_function.R
calc_gaussian_function | R Documentation |
Function that returns for each given point the value of a Gaussian function.
calc_gaussian_function(pt, amp = 1, ctr = 0, sd = 1)
pt |
Coordinate of the point |
amp |
Amplitude of the peak of the Gaussian curve |
ctr |
Coordinate of the center point |
sd |
Standard deviation of the Gaussian curve (for a curve that contains >99% of the area between -1 and 1 use sd=0.4) |
Vector of function values for each input point
Nikolai Knapp
in progress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.