Back-transform a parameter value to the natural scale
Source:R/extendr-wrappers.R
transform_value.RdApplies the inverse transformation to convert a parameter from the estimation scale to the natural/interpretable scale. For LogNormal, this exponentiates the value. For Identity, Proportional, and AddErr, the value is returned unchanged.
Examples
if (FALSE) { # \dontrun{
transform_value(0.5, "LogNormal")
transform_value(c(0.5, 1.0), "LogNormal")
} # }