pc1_vs_pc2_plot | R Documentation |
Saves to file a scatterplot showing PC1 vs PC2
pc1_vs_pc2_plot(scores_df, output_path = NA, my_width = 8, my_height = 8)
scores_df |
Dataframe with elements x principle components. Expects at least a PC1 and PC2 column |
output_path |
Character vector with fully qualified path to which plot will be saved |
my_width |
One-length numeric vector with width of output plot ( in inches ) |
my_height |
One-length numeric vector with height of output plot ( in inches ) |
Returns the ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.