(v1.0.1.9001) PCA unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-03-08 09:12:11 +01:00
1 parent fa0d9c58d9
commit 9fc858f208
15 files changed
+71 -21

No files matched your search

+1
View File
@@ -31,6 +31,7 @@
#' The result of the [pca()] function is a [`prcomp`] object, with an additional attribute `non_numeric_cols` which is a vector with the column names of all columns that do not contain numeric values. These are probably the groups and labels, and will be used by [ggplot_pca()].
#' @rdname pca
#' @exportMethod prcomp.data.frame
#' @importFrom stats prcomp
#' @export
#' @examples
#' # `example_isolates` is a dataset available in the AMR package.