angle_cal: Function that calculates principal angles between column...

View source: R/Angle_Calculation.R

angle_calR Documentation

Function that calculates principal angles between column spaces of two matrices

Description

Function that calculates principal angles between column spaces of two matrices

Usage

angle_cal(X, Y)

Arguments

X

The first matrix

Y

The second matrix

Value

A list that contains the following:

angle

A vector of principal angles with increasing order

cos_angle

A vector of cosine principal angles

principal_vector1

Principal vectors of matrix X

principal_vector2

Principal vectors of matrix Y


justicesuker/DMMD_Package documentation built on Aug. 6, 2022, 12:34 p.m.