R/delta2a.R

Defines functions delta2a

Documented in delta2a

delta2a <-
function(delta){
      res = vector("numeric",length(delta)+1)
      count = 2
      res[1]  = 0
      while(count > 1 & count <= length(delta)+1){
         res[count] = exp(delta[count-1]) + res[(count-1)]
         count = count + 1
      }
      res
   }

Try the PLordprob package in your browser

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

PLordprob documentation built on May 2, 2019, 4:03 p.m.