View source: R/Time_Series_Distortions.R
TS.SaltPepper | R Documentation |
Similar to salt and pepper image noise but applying to time series. In this case, salt and pepper variations correspond to max(Y) and min(Y) respectively.
TS.SaltPepper(Y, prop, beta = 1)
Y |
A time series with real values. |
prop |
contamination percentage for the salt and pepper noise [0,1]. |
beta |
the factor that multiplies the minimum and maximum of the series to determine the value of salt and pepper respectively |
The input time series with the salt and pepper noise variation imposed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.