signFlip: Carries out the signflip adjustment of a loadings matrix

Description Usage Arguments Value Author(s) Examples

View source: R/FastHCS.R

Description

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

Usage

1

Arguments

loadings

A matrix of loadings.

Value

An (eventually sign flipped) loadings matrix.

Author(s)

Kaveh Vakili

Examples

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


FastHCS documentation built on May 19, 2017, 6:43 a.m.
Search within the FastHCS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.