order_andrews: order_andrews

View source: R/order_andrews.R

order_andrewsR Documentation

order_andrews

Description

Returns a reording of the columns of x to visualize outliers or clusters better. If no colum names are given then V1, V2, ... will be used.

Usage

order_andrews(x, method = 1)

Arguments

x

data matrix

method

numeric: order method (default: 1)

  • 1: interquartile range

  • 2: max(x-median(x))/IQR(x) (outlier)

  • 3: fit to a Ward cluster solution with euclidean distance

Value

order of column vectors

Examples

order_andrews(iris)

sigbertklinke/smvgraph documentation built on Dec. 10, 2022, 9:13 a.m.