View source: R/calc_gaussian_function_2D_function.R
calc_gaussian_function_2D | R Documentation |
Function that returns for each X-Y-coordinate pair the value of a Gaussian function.
calc_gaussian_function_2D(Xpt, Ypt, amp = 1, Xctr = 0, Yctr = 0, sd = 1)
Xpt |
X-coordinate of the point |
Ypt |
Y-coordinate of the point |
amp |
Amplitude of the peak of the Gaussian curve |
Xctr |
X-coordinate of the center point |
Yctr |
Y-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.