remove_outliers: Remove outliers

View source: R/remove_filter.R

remove_outliersR Documentation

Remove outliers

Description

Remove points that are far away from adjacent points.

Usage

remove_outliers(x, n = 7, d = 5, select = NULL)

Arguments

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.

Details

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.


correapvf/trackROV documentation built on Nov. 19, 2024, 9:04 p.m.