dgammaOff1 function

Function that calculates dgamma with a offset of 1 (i.e., 1 is equivalent to 0)

Function that calculates dgamma with a offset of 1 (i.e., 1 is equivalent to 0)

dgammaOff1(x, replace0 = FALSE, ...)

Arguments

  • x: value to calculate dgamma at
  • replace0: should we replace 0 with epsilon
  • ...: other parameters to dgamma

Returns

dgamma offset