View source: R/pointMatching.R
getOptimalPointMatching | R Documentation |
Internally it handles the points and the possible matchings as a bi-partite graphs and finds an optimal matching due to euclidean distance by an efficient linear programming solver.
getOptimalPointMatching(x, y, method = "lp", full.output = FALSE)
x |
[ |
y |
[ |
method |
[
|
full.output |
[ |
[matrix | list
]
Either a matrix where each row consists of the indizes of the pairwise
assigned points.
If full.output = TRUE
a list is returned with the assignment matrix “pm”,
the method “method” and the optimal weight “opt.weight”.
visualizePointMatching
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.