check_eigen_sign: Change the sign of eigenvectors to target eigenvectors

View source: R/eigen.R

check_eigen_signR Documentation

Change the sign of eigenvectors to target eigenvectors

Description

Change the sign of eigenvectors to target eigenvectors

Usage

check_eigen_sign(eig_vec, target)

Arguments

eig_vec

a vector (n x 1) or matrix (n x q) containing estimated eigenvectors

target

a vector (n x 1) or matrix (n x q) containing true (or want to convert) eigenvectors

Value

eig_vec modified to correspond to the sign of target


statKim/robfpca documentation built on April 15, 2023, 10:12 p.m.