faceOPA: Ordinary Procrustes Analysis

View source: R/facer.R

faceOPAR Documentation

Ordinary Procrustes Analysis

Description

Fit one face onto another

Usage

faceOPA(A, B)

Arguments

A

a face matrix (no missing values allowed)

B

another face matrix with the same dimension (missing values allowed)

Details

Face A is centered, Face B is centered then rotated to obtain the best Procrustes fit

Value

a list with the following components:

Ahat

centered A

Bhat

B centered and rotated onto A

OSS

sum of squares for the difference

rmsd

RMS difference = sqrt(OSS/(no. of markers))

mss

square distance per marker


julianfaraway/facer documentation built on Dec. 4, 2023, 9:34 p.m.