This helper function transforms the threshold increments d to the thresholds gamma.
d_to_gamma(d)
Arguments
d: A numeric vector of threshold increments.
Returns
A numeric vector of the thresholds.
Details
The threshold vector gamma is computed from the threshold increments d as c(-100,0,cumsum(exp(d)),100), where the bounds -100 and 100 exist for numerical reasons and the first threshold is fixed to 0 for identification.