as.anomalies: Create a class anomalies from a (pre-filterd)...

Description Usage Arguments Details Value

View source: R/as.anomalies.R

Description

One can use either dplyr filter verb or subseting records with base "[" to manually define anomalies Then as.anomalies can be used to create anomalies object to be used for instance for visualisation purpose.

Usage

1

Arguments

x

stranger/singular (pre-filered) object

Details

Note that it is expected from the user to filter the object. If not done, all records are defined as anomalies. This manual approach can be useful with some metrics and litterature recommandation, for instance using a cutpoint of 2 for 'abod' method.

Value

object of class anomalies – see also get_anomalies.


stranger documentation built on March 18, 2018, 2:01 p.m.