View source: R/pca_scores_plot.R
pca_scores_plot | R Documentation |
Make a PCA scores plot with plot_ly
pca_scores_plot(scores_data, xaxis = "PC1", yaxis = "PC2", color_by = "none")
scores_data |
tibble containing the scores information |
xaxis |
which component to show on the x-axis (default = "PC1") |
yaxis |
which component to show on the y-axis (default = "PC2") |
color_by |
color the observation by this group |
a plotly graph
Rico Derks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.