signFlip {FastHCS}R Documentation

Carries out the signflip adjustment of a loadings matrix

Description

This function solves the sign indeterminancy of the loadings by setting the maximum element in a singular vector to be positive.

Usage

  signFlip(loadings)

Arguments

loadings

A matrix of loadings.

Value

An (eventually sign flipped) loadings matrix.

Author(s)

Kaveh Vakili

Examples

x<-diag(10)
x[1,1]<--2
W<-signFlip(x)
W[1,1]

[Package FastHCS version 0.0.6 Index]