principal_angles | R Documentation |
Calculate principal angles between subspace spanned by the columns of a and the subspace spanned by the columns of b
principal_angles(a, b)
a |
A matrix whose columns span a subspace. |
b |
A matrix whose columns span a subspace. |
a vector of principal angles (in radians)
a <- matrix(rnorm(9), 3, 3)
b <- matrix(rnorm(9), 3, 3)
principal_angles(a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.