check_ylu: check_ylu

Description Usage Arguments Value Examples

View source: R/check_input.R

Description

Curve fitting values are constrained in the range of ylu. Only constrain trough value for a stable background value. But not for peak value.

Usage

1
check_ylu(yfit, ylu)

Arguments

yfit

Numeric vector, curve fitting result

ylu

limits of y value, [ymin, ymax]

Value

yfit, the numeric vector in the range of ylu.

Examples

1
check_ylu(1:10, c(2, 8))

eco-hydro/phenofit2 documentation built on Dec. 20, 2021, 3:15 a.m.