detectOutliers: Detect anomalous observations (outliers).

View source: R/detectOutliers.R

detectOutliersR Documentation

Detect anomalous observations (outliers).

Description

An anomalous unit value will be indicated as "outlier".

Usage

detectOutliers(tradedata = NA, method = NA, parameters = NA)

Arguments

tradedata

Trade data.

method

String: method to use for outlier detection. Currently "boxplot" is allowed.

parameters

List: named parameters to pass to method.

Value

tradedata with an additional "outlier" column: TRUE indicates an outlier.


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.