powered by
Curve fitting values are constrained in the range of ylu. Only constrain trough value for a stable background value. But not for peak value.
ylu
check_ylu(yfit, ylu)
yfit, the numeric vector in the range of ylu.
Numeric vector, curve fitting result
limits of y value, [ymin, ymax]
[ymin, ymax]
check_ylu(1:10, c(2, 8))
Run the code above in your browser using DataLab