R/classicShape.R

Defines functions classicShape

Documented in classicShape

#' @export
classicShape <- function(x, center = NULL,  normalization = c("det", "trace", "one"), maxiter = 1e4, eps = 1e-6) {
  if (any(is.na(x))) {
    stop("Missing values found. Use classicShapeNA().")
  }
  try(
    res <- powerShape(x, 0, center, normalization, maxiter, eps)
  )
  res$call <- match.call()
  return(res)
}
kathariemer/shapeNA documentation built on March 20, 2021, 1 p.m.