dot-offCenter: Return position of 'di' (numeric vector) which is most...

.offCenterR Documentation

Return position of 'di' (numeric vector) which is most excentric (distant to 0), starts with NAs as most excentric

Description

This function aims to return position of 'di' (numeric vector) which is most excentric (distant to 0), starts with NAs as most excentric It is used for identifying/removing (potential) outliers. Note : this fx doesn't consider reference distrubutions, even with "perfect data" 'nMost' points will ba tagged !

Usage

.offCenter(di, nMost = 1)

Arguments

di

(numeric) main input

nMost

(integer)

Value

This function returns a integer/numeric vector (indicating index)

See Also

use in presenceFilt; diff

Examples

.offCenter(11:14)

wrMisc documentation built on Sept. 11, 2024, 6:10 p.m.