R/BoxMTest.R

Defines functions boxMTest

Documented in boxMTest

#' Box's M-test for Homogeneity of Covariance Matrices
#' @export
boxMTest <- function(object) {
  .checkClass(object, "morphodata")


  bt = utils::capture.output(heplots::boxM(object$data, object$Taxon))

  cat("Box's M-test for homogeneity of covariance matrices\n", bt[5])
  cat("\n")

}

Try the MorphoTools2 package in your browser

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

MorphoTools2 documentation built on March 7, 2023, 6:18 p.m.