Transform a real-valued parameter to the interval (-1, 1)
rho_trans.RdApplies the scaled logistic transformation \(2 / (1 + e^{-2x}) - 1\) to map an unconstrained real value to \((-1, 1)\), suitable for parameterising correlation coefficients. Used in SPoRC to back-transform raw correlation parameters before constructing AR(1) and constant covariance matrices for logistic-normal composition likelihoods.