R/numeric-helpers.R
inv_logit_scaled.Rd
Computes inv_logit(x) * (ub - lb) + lb
inv_logit(x) * (ub - lb) + lb
inv_logit_scaled(x, lb = 0, ub = 1)
A numeric or complex vector.
Lower bound defaulting to 0.
0
Upper bound defaulting to 1.
1
A numeric or complex vector between lb and ub.
lb
ub