powered by
Functions to transform (and antitrasforms) the thresholds into an unconstrained space.
delta2a(delta) a2delta(a)
a set of increaing thresholds
a vector (of size length(delta)-1) of threshold log-differences
length(delta)-1
A vector of tresholds or of tresholds log-differences
delta_k = log(a_k - a_k+1)
# NOT RUN { thresh <- c(0,2,4) logdiffs <- a2delta(thresh) # }
Run the code above in your browser using DataLab