View source: R/adaptivegpca-package.R
findReflection | R Documentation |
Find a reflection of one data frame so that it most closely matches another.
findReflection(df1, df2)
df1 |
The base data frame. |
df2 |
The data frame that will be reflected across either the x-axis or the y-axis (or both or neither) so that the points in it most closely match df1. |
A vector of length ncol(df1)
: Multiplying the first
column of df2 by the first element and multiplying the second
column of df2 by the second element and so on gives the optimal
reflection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.