Compare two sets of 2D points by plotting a scatterplot, optionally rotating the data such that they are as similar as possible (useful when visualizing projections which are invariante to unitary transformations (rotations and reflections). A will be in black, B will be in red.
1 | comp_scat2d(A, B, rot = FALSE, scale_ax = FALSE, obnoxious = FALSE)
|
A |
A first set of points, should be of the same dimensions as B |
B |
A first set of points, should be of the same dimensions as A |
rot |
If TRUE, solves the orthogonal procrustes problem to rotate B to match A. |
scale_ax |
If TRUE, scales each axis so as to minimize error (performed after procrustes analysis if rot is also TRUE). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.