Description Usage Details Author(s) Examples
Returns default options for function autoFilter
.
1 |
Returns default options for function autoFilter
.
It can be assigned, changed and used within the function autoFilter
.
In night filter the user can change the threshold
of GCC value below which records are discarded.
In blue filter the user can change the threshold
on daily standard deviation in blue channel
above which records are discarded.
In mad filter the user can change the z
parameter. Increasing z means discarding more data.
In max filter the user can change w
, i.e. the time window (in days) on which the moving maximum
quantile is computed, and qt
, the quantile that is used (default 0.9).
In spline filter the user can change stdup
and stddown
, upper and lower standard deviation thresholds,
respectively and loop_spline
, the number of spline iteractions.
See examples for details.
Gianluca Filippa <gian.filippa@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(bartlett2009)
## with raw.dn ==TRUE and column position for chromatic coordinates
filtered.data <- autoFilter(bartlett2009, dn=c(5:7),
filter=c('night', 'spline', 'max'),
filter.options=NULL, raw.dn=TRUE)
my.options <- get.options()
## change time window for max filter
my.options$max.filter$w <- 5
filtered.data2 <- autoFilter(bartlett2009, dn=c(5:7),
filter=c('night', 'spline', 'max'),
filter.options=my.options, raw.dn=TRUE)
plot(filtered.data$max.filtered)
lines(filtered.data2$max.filtered, col='red')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.