R/get_screeplot.R

Defines functions get_screeplot

Documented in get_screeplot

#' get scree plot of PCA result
#'
#' @param pca_res pca_res
#' @param choice choice
#'
#' @return
#' @export
#' @import FactoMineR
#'
#' @examples
get_screeplot <- function(pca_res, choice="variance") {
  fviz_eig(pca_res, addlabels = TRUE, choice=choice)
}
thierrycnam/nbafuns documentation built on Sept. 30, 2019, 1:41 p.m.