Description Usage Arguments Details Value
Temporal outliers are marked or removed based on their distanced from a smoothing model derived with loess
.
1 2 |
tsx |
ts or numeric vector. Time series data. |
QC_good |
Integer or Logical vector. Optional time series of ts quality: 0=bad, 1=good |
dates |
Dates or Numeric. Vector of observation times. Overwrites index of tsx. |
threshold |
Numeric vector of length 2. Upper and lower threshold for non-outlier distances from smoothed time series. |
res_type |
Character. Determins the returned object , see details. |
... |
additional arguments to |
"distance" gives the distance, "sd_distance" the distance devided by the sd, "filled", a ts with outleirs replaced by smoothed values, "omit" the input ts with outliers removed, "QC" the status of observations: 0=Missing/band input QC, 1=good, 2=temporal outlier. "all" returns a data.frame with all these vectors.
a ts, numeric vector or data.frame, see details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.