Creates a Bi-Gaussian peak model with four parameters: height, center, width_left, and width_right.
Details
The Bi-Gaussian function uses different widths on the left and right sides of the peak, providing flexible asymmetry.
See also
Other peak-models:
emg_peak_model(),
gaussian_peak_model(),
lorentzian_peak_model()
Examples
model <- bigaussian_peak_model()
x <- seq(0, 10, by = 0.1)
params <- list(height = 1, center = 5, width_left = 0.8, width_right = 1.2)
y <- peak_model_value(model, x, params)
plot(x, y, type = "l")