comp_scat2d: Compare two sets of 2D points by plotting a scatterplot,...

Description Usage Arguments

Description

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.

Usage

1
comp_scat2d(A, B, rot = FALSE, scale_ax = FALSE, obnoxious = FALSE)

Arguments

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).


NathanWycoff/iPLSV documentation built on May 16, 2019, 11:10 p.m.