R/mv.mle.R

Defines functions mv.mle

Documented in mv.mle

mv.mle <- function(x, distr = "mvnorm", v = 1, tol = 1e-7) {
  if ( distr == "mvnorm" ) {
     res <- Rfast::mvnorm.mle(x)
  } else if ( distr == "mvlnorm" ) {
     res <- Rfast::mvlnorm.mle(x)
  } else if ( distr == "mvt" ) {
    res <- Rfast::mvt.mle(x, v = v, tol = tol)
  } else if ( distr == "invdir" ) {
    res <- Rfast::invdir.mle(x, tol = tol)
  }
  res
}

Try the MLE package in your browser

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

MLE documentation built on April 3, 2025, 10:02 p.m.