Description Usage Arguments Value
View source: R/optimal_transport.R
Function to find the optimal Q. Classic Procrustes, but with the allowance of an assignment matrix.
1 | procrustes(X, Y, Pi = NULL, p = dim(X)[2], q = 0)
|
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 |
the procrustes solution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.