| set.lambda {BBEST} | R Documentation |
Set mean signal magnitude
Description
set.lambda sets the mean height of the peaks over region x.
Usage
set.lambda(data, lambda=NA, lambda_1=NA, lambda_2=NA,
lambda_0=NA, x_1=NA, x_2=NA)
Arguments
data |
an object of type |
lambda |
numeric vector. If not |
lambda_1, lambda_2, lambda_0, x_1, x_2 |
numerics. If |
Details
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).
Value
An object of type data. Element
lambda |
numeric vector containing an approximate mean magnitude of the signal. |
is replaced with its new value.
[Package BBEST version 0.1-8 Index]