R/aboot.R

Defines functions aboot

Documented in aboot

#' Title
#'
#' @param boot a vector of bootstrap resample statistics to use to calculate the accelleration parameter.
#'
#' @return a vector of accelleration parameters for use in BCa bootstrap intervals
#' @export
#'
#' @examples  data<-DFSimulated()
#' boots<-NaiveBoot(data, groups="Rs", keepgroups=TRUE)
#' boots<-bootAnalysis(boots, cbind, DFanalysis, 1,2,3, robust=FALSE)
#' boots<-t(boots)
#' aboot(boots)
aboot<-function(boot){
  results<-apply(boot, 2, aCalc)
  return(results)
}

Try the Omisc package in your browser

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

Omisc documentation built on Aug. 9, 2022, 5:09 p.m.