orth_proc: Solve the orthogonal procrustes problem

Description Usage Arguments Value

Description

Solve the orthogonal procrustes problem

Usage

1
orth_proc(A, B, comp_stress = TRUE)

Arguments

A

A Matrix of the same dimension as B

B

A Matrix of the same dimension of A of which a rotation will be computed which puts it closest to A.

comp_stress

Should we compute and return the F norm of A - WB, where W is the rotation?

Value

If comp_stress, a list with elements W, the rotation matrix, and stress, the scalar norm of the difference, or just the matrix W if not.


NathanWycoff/iPLSV documentation built on May 16, 2019, 11:10 p.m.