R/ei.reg.bayes.conf.int.R

Defines functions ei.reg.bayes.conf.int

Documented in ei.reg.bayes.conf.int

ei.reg.bayes.conf.int <- function(ei_bayes){
  conf_int <- apply(ei_bayes$draws, 1:2, function(x) quantile(x, probs=c(.025, .5, .975)) )
  tab_out <- t ( as.data.frame(conf_int) )
  return ( tab_out )
}

Try the eiCompare package in your browser

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

eiCompare documentation built on June 20, 2017, 9:11 a.m.