1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 16:02:02 +02:00

documentation fix

This commit is contained in:
2022-11-05 09:31:19 +01:00
parent 3b652983b7
commit 8dc94a9eda
4 changed files with 10 additions and 6 deletions

View File

@ -131,10 +131,12 @@ if (require("dplyr")) {
# old base R plotting method:
biplot(pca_result)
# new ggplot2 plotting method using this package:
ggplot_pca(pca_result)
# new ggplot2 plotting method using this package:
if (require("ggplot2")) {
ggplot_pca(pca_result)
# still extendible with any ggplot2 function
ggplot_pca(pca_result) +
scale_colour_viridis_d() +
labs(title = "Title here")