Learn R Programming

DIFM (version 1.0)

permutation.order: Order of permutation by the largest absolute value in each eigenvector

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.

Usage

permutation.order(data, n.factors)

Value

The numeric vector of permutation

Arguments

data

The dataset

n.factors

Number of factors