Learn R Programming

stranger (version 0.3.3)

singularize: Normalize anomalies metrics and (eventually) stack them

Description

singularize derives normalized/standardized versions of different weirds contained in a stranger object so that they are directly comparable and then propose various aggregated measures (stacking).

Usage

singularize(strangerObject, methods = c("norm", "rank"), stacks = c("max",
  "avg", "min", "damavg", "pruavg"), prefix = "N_anom", ...)

Arguments

strangerObject

An object build with stranger or strangest

methods

character vector of standardization methods: norm (normalize) and rank (ranking version). By default, both methods are used.

stacks

character vectors of stacked versions. Note that some methods require more than 2 weirds metrics to be used

prefix

default prefix used to name generated new metrics

Additional parameters - Currently not used.