rubitRemoveOutliers: Removes outliers from tracking data based upon...

Description Usage Arguments Value See Also Examples

View source: R/removeOutliers.R

Description

Removes outliers from an area matrix based upon the log-likelihood of tracked X,Y-coordinates.

Usage

1
rubitRemoveOutliers(m, p = 0.001)

Arguments

m

a numerical matrix corresponding to an area.

p

the proportion of least likely X,Y-coordinates to remove based on log-likelihood. For example, for p = 0.01, the least likely 1% of points will be removed.

Value

A numerical matrix of the same dimensions as m.

See Also

rubitLinearInterpolate to interpolate X,Y-coordinates after removing outliers.

Examples

1
2
3
4
data(weevils_raw)

Remove least likely 0.01\% of points
w_filt <- lapply(weevils_raw, rubitRemoveOutliers, p = 0.001)

JoGall/rubitrail documentation built on May 7, 2019, 10:53 a.m.