R/a2delta.R

Defines functions a2delta

Documented in a2delta

a2delta <-
function(a){
      res = vector("numeric",length(a)-1)
      count = 2
      while(count > 1 & count <= length(a)){
         res[count-1] = log(a[count] - a[(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.