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)
}

Try the shapeNA package in your browser

Any scripts or data that you put into this service are public.

shapeNA documentation built on March 15, 2021, 5:06 p.m.