R/logrob.r

Defines functions logrob

logrob = function(x,tol){
  i = x==0
  x[i] = x[i]+tol
  log(x)
}

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.