R/MBI-constructor.R

Defines functions new_bootstrap_MBI

new_bootstrap_MBI <- function(estimator, test, result, distribution) {
  bootstrap_MBI_object <- list(
    estimator = estimator,
    test = test,
    results = result,
    distribution = distribution
  )

  class(bootstrap_MBI_object) <- "bmbstats_MBI"

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