Transforms samples from a truncated Dirichlet density to the real line using a stick-breaking algorithm. This algorithm is suitable for mixtures of equality constrained parameters, inequality constrained parameters, and free parameters
tdir_trans(
theta_mat,
boundaries,
mult_equal,
nr_mult_equal,
nr_mult_free,
hyp_direction
)
matrix with transformed samples
matrix with samples from truncated Dirichlet density
list containing indices for upper and lower truncation boundaries
multiplicative elements for each lower and upper bound of each inequality constrained parameter.
vector of multiplicative elements of collapsed parameters
vector of multiplicative elements of free parameters
specifies whether the imposed inequality constrained imposes an increasing (i.e., 'smaller') or decreasing (i.e., 'larger') trend