mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 19:26:13 +01:00
documentation fix
This commit is contained in:
parent
8dc94a9eda
commit
2d90218305
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.2.9043
|
Version: 1.8.2.9044
|
||||||
Date: 2022-11-05
|
Date: 2022-11-05
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 1.8.2.9043
|
# AMR 1.8.2.9044
|
||||||
|
|
||||||
This version will eventually become v2.0! We're happy to reach a new major milestone soon!
|
This version will eventually become v2.0! We're happy to reach a new major milestone soon!
|
||||||
|
|
||||||
|
4
R/pca.R
4
R/pca.R
@ -64,9 +64,9 @@
|
|||||||
#' # old base R plotting method:
|
#' # old base R plotting method:
|
||||||
#' biplot(pca_result)
|
#' biplot(pca_result)
|
||||||
#' # new ggplot2 plotting method using this package:
|
#' # new ggplot2 plotting method using this package:
|
||||||
#' ggplot_pca(pca_result)
|
|
||||||
#'
|
|
||||||
#' if (require("ggplot2")) {
|
#' if (require("ggplot2")) {
|
||||||
|
#' ggplot_pca(pca_result)
|
||||||
|
#'
|
||||||
#' ggplot_pca(pca_result) +
|
#' ggplot_pca(pca_result) +
|
||||||
#' scale_colour_viridis_d() +
|
#' scale_colour_viridis_d() +
|
||||||
#' labs(title = "Title here")
|
#' labs(title = "Title here")
|
||||||
|
@ -84,9 +84,9 @@ if (require("dplyr")) {
|
|||||||
# old base R plotting method:
|
# old base R plotting method:
|
||||||
biplot(pca_result)
|
biplot(pca_result)
|
||||||
# new ggplot2 plotting method using this package:
|
# new ggplot2 plotting method using this package:
|
||||||
ggplot_pca(pca_result)
|
|
||||||
|
|
||||||
if (require("ggplot2")) {
|
if (require("ggplot2")) {
|
||||||
|
ggplot_pca(pca_result)
|
||||||
|
|
||||||
ggplot_pca(pca_result) +
|
ggplot_pca(pca_result) +
|
||||||
scale_colour_viridis_d() +
|
scale_colour_viridis_d() +
|
||||||
labs(title = "Title here")
|
labs(title = "Title here")
|
||||||
|
Loading…
Reference in New Issue
Block a user