R/MET-constructor.R

Defines functions new_bootstrap_MET

new_bootstrap_MET <- function(estimator, test, result, distribution) {
  bootstrap_MET_object <- list(
    estimator = estimator,
    test = test,
    results = result,
    distribution = distribution
  )

  class(bootstrap_MET_object) <- "bmbstats_MET"

  return(bootstrap_MET_object)
}
mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.