scaler {mvpart}R Documentation

Row and Column Scaling of a Data Matrix

Description

The function provides some popular (and effective) standardization methods for community ecologists.

Usage

scaler(x, col = c("mean1", "max1", "min0", "ssq1", "range01", "zsc", "pa", "rank")[2],
    row = c("mean1", "max1", "min0", "ssq1", "range01", "zsc", "pa", "rank")[1])

Arguments

x Data matrix.
col Character vector of column standardizations.
row Character vector of row standardizations.

Details

The function offers following data matrix standardizations:

Standardizations are performed first on columns then on rows. "pa" applies to the whole matrix and can be specied using row or col.

Value

Returns the standardized matrix.

Note

Common transformations can be made with standard R functions.

Author(s)

Jari Oksanen – modified Glenn De'ath (Dec 03)

Examples

data(spider)
spid.data <- scaler(spider, col = "max", row="mean1")

[Package mvpart version 1.2-6 Index]