View source: R/remove_filter.R
remove_outliers | R Documentation |
Remove points that are far away from adjacent points.
remove_outliers(x, n = 7, d = 5, select = NULL)
x |
'track' object. |
n |
window size to search for outlier. |
d |
threshold to remove outliers, same units original data. |
select |
character. The filter is applied only in these dives. |
This filter will divide the window in three parts. A median is calculated from both ends,
and if the center value is more distant than d
from the mean, this value is considered an outlier.
This process is repeated for each coordinate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.