R/trans.par.gengamma.r

Defines functions trans.par.gengamma

trans.par.gengamma = function(Z1, par){
  p = length(par)
  p1 = exp(-Z1 %*% as.matrix(par[1:(p-2)]))
  p2 = 1/exp(par[(p-1)])
  p3 = exp(par[p])
  cbind(p1,p2,p3)
}

Try the BayesPIM package in your browser

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

BayesPIM documentation built on April 12, 2025, 1:59 a.m.