R/scree_plot.R

Defines functions scree_plot

Documented in scree_plot

#' Screeplot wrapper function for totalvis objects
#' @param x An object produced from the totalvis or partial_effects functions 
#' @param main title of the scree plot
#' @param ... Additional arguments to be passed to screeplot
#' @importFrom stats screeplot
#' @export

scree_plot <- function(x, main = "Scree Plot", ...){
  screeplot(x$pca_object, main = main, ...)
}
nickseedorff/totalvis documentation built on May 12, 2021, 8:49 p.m.