bertinrangescore: Range standardisation of a matrix

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Calculate range standardised matrix for Bertin analysis.

Usage

1
bertinrangescore(z, var.orientation = c("byrow", "bycolumn", "global"), na.rm = TRUE, finite = FALSE)

Arguments

z

A data matrix

var.orientation

"byrow", "bycolumn", "global"). By defaults, following Bertin's conventions variables are in rows. Use var.orientation="bycolumn" for R conventions.

na.rm

passed to range

finite

passed to range

Details

Calculates (x-min(x))/ ( max(x)-min(x). If range(x) has zero length, one is returned as value.

Value

scores

An augmented matrix of rank scores. The matrix has the class "bertin" and carries the attributes:

var.orientation

cached.

This list is subject to change.

Author(s)

G. Sawitzki

See Also

bertinrank, bertinzscore.

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

bertin documentation built on May 2, 2019, 5:54 p.m.