plot_pca | R Documentation |
ropls::opls()
Plot PCA models created by ropls::opls()
plot_pca(ropls_pca, group_var = NULL, annotate = c("caption", "subtitle", "none"))
ropls_pca |
a PCA model produced by |
group_var |
a discrete variable used to plot groups |
annotate |
location on the plot to print model statistics |
a ggplot object
## Not run: plot_pca(pca, data$treatment) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.