Description Usage Arguments Value
When making a biplot, the scales of the two sets of points
aren't always comparable – only the *directions* of the projections of
feature variables are meaningful. This helper rescales the points in the
matrix x2
to have radius comparable to the points in x1.
Specifically, we rescale x2
so it's median radius is equal to the
median radius of the x1
points.
1 | scale_to_median_radius(x1, x2)
|
x1 |
The reference matrix used to rescale |
x2 |
The matrix to rescale. |
x2_scaled The matrix x2
rescaled to have the same median
radius as x1
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.