Description Usage Arguments Value Author(s)
This filter defines outliers based on residuals from a local polynomial
regression fitting provcess (loess
).
1 | loessFilter(tFirst, tSecond, type, twl, k = 3, plot = TRUE)
|
tFirst |
vector of sunrise/sunset times (e.g. 2008-12-01 08:30). |
tSecond |
vector of of sunrise/sunset times (e.g. 2008-12-01 17:30). |
type |
vector of either 1 or 2, defining |
twl |
data.frame containing twilights and at least |
k |
a measure of how many interquartile ranges to take before saying that a particular twilight event is an outlier |
plot |
codelogical, if TRUE a plot indicating the filtered times will be produced. |
Logical vector
matching positions that pass the filter.
Simeon Lisovski & Eldar Rakhimberdiev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.