scale_MDS | R Documentation |
Scales MDS results Scales MDS results of trees for each distance so that all coordinates for each axis and distance are between -1 and 1.
scale_MDS(df, n, group_var = "method", x_dim = "MDS1", y_dim = "MDS2")
df |
A dataframe with the first two MDS coordinates for a set of trees and distances. |
n |
The number of trees in the dataframe. |
group_var |
The name of the variable within the dataframe that specifies the distance. |
x_dim |
The name of the variable within the dataframe that specifies the value on the x axis. |
y_dim |
The name of the variable within the dataframe that specifies the value on the y axis. |
A scaled version of the original dataframe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.