Gaussian | R Documentation |
Sum of Gaussian functions
Gaussian(x, x0, FWHM, A = 1, y0 = 0)
x |
x values |
x0 |
Center values (scalar or vector) |
FWHM |
Full width at half maximum (scalar or vector of length(x0)) |
A |
Amplitudes (scalar or vector of length(x0), defaults to '1') |
y0 |
baseline (scalar, defaults to '0') |
x <- seq(-10, 10, .1) y <- Gaussian(x, x0 = c(-2, 3), FW = c(1, 5), y0 = 1) plot(x, y, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.