set.lambda sets the mean height of the peaks over region x.
set.lambda(data, lambda=NA, lambda_1=NA, lambda_2=NA,
lambda_0=NA, x_1=NA, x_2=NA)an object of type data. See set.data for details.
numeric vector. If not NA, specifies (approximate) the mean magnitude of the signal. This estimate does not need to be accurate. lambda can be estimated as a smooth function that crosses centres of the signal peaks.
numerics. If lambda is NA help to estimate lambda. See details.
An object of type data. Element
numeric vector containing an approximate mean magnitude of the signal.
lambda is calculated as a linear piecewise function which is equal to lambda_0 outside the [x_1,x_2] region. Inside this region, lambda is approximated by a line connecting points (x_1;lambda_1) and (x_2;lambda_2).