procrustes: Procrustes

Description Usage Arguments Value

View source: R/optimal_transport.R

Description

Function to find the optimal Q. Classic Procrustes, but with the allowance of an assignment matrix.

Usage

1
procrustes(X, Y, Pi = NULL, p = dim(X)[2], q = 0)

Arguments

X

the vectors X

Y

the vectors Y

Pi

the matrix of transports

p

the dimension of the positive component

q

the dimension of the negative component

Value

the procrustes solution


jagterberg/optimalTransportInvariance documentation built on Feb. 3, 2022, 7:24 p.m.