permutation.scale {DIFM}R Documentation

Permute the dataset by the largest absolute value in each eigenvector, and scale

Description

It finds the vector of permutation to permute data by its largest absolute value in each eigenvector. It sets the order by specified number of factors, and the rest is ordered as they were. The data is permuted, and if needed, scaled.

Usage

permutation.scale(data, n.factors, return.scale = FALSE)

Arguments

data

The dataset

n.factors

Number of factors

return.scale

Scale data after permutation

Value

The permuted and standardized dataset, either in matrix or array.


[Package DIFM version 1.0 Index]