R/trans.par.r

Defines functions trans.par

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

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.