order_andrews {smvgraph}R 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)

[Package smvgraph version 0.1.2 Index]