orthogonalVectors: Orthogonal vectors

Description Usage Arguments Details See Also

View source: R/Utilities.R

Description

Create orthogonal set of vectors that resemble the original input vectors.

Usage

1
orthogonalVectors(X, dim = 1, re = TRUE)

Arguments

X

a matrix with vectors as rows (default) or columns (see below).

dim

an integer specifying which dimension is the object dimension.

re

a logical indicating if vectors should be norm-scaled before orthogonalization and rescaled afterwards (default = TRUE).

Details

The input vectors are orthgonalized using singular value decomposition. To make the resulting vectors similar to the input vectors (not just any base for the same space) they are re-oriented towards the original vectors using Procrustes rotations.

To force the procedure to handle vectors of unequal magnitudes similarilly they are by default rescaled to norm vectors before orthogonalization and rescaled afterwards. This can be overridden using the re paramter.

See Also

EMSC EMSC_model plot.EMSC


EMSC documentation built on Sept. 21, 2021, 1:06 a.m.