R/cb.R

Defines functions cb

#' @import stats
cb = function(x,beta.post,mu2.post,qun){
  vec.fp = rep(x,length(beta.post))
  sroc = pnorm(-(qnorm(1-x)*exp(-beta.post/2)-mu2.post)/exp(beta.post/2))
  quantile = quantile(sroc,qun)
  return(quantile)
}

Try the NMADiagT package in your browser

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

NMADiagT documentation built on Feb. 26, 2020, 9:06 a.m.