Calculate the increase in a specific quantile for a distribution on y when residual variability is added
add_ruv_to_quantile(y, sd_y, log_scale = FALSE, q = NULL, ruv = list(), ...)
y
: y withsd_y
: standard deviation of y without residual variability added. Will add normally distributed variability (potentially on log-scale).log_scale
: add variability on log scale (FALSE by default, DEPRECATED!).q
: quantileruv
: list of residual variability (prop
and add
)...
: passed argumentsNumeric vector of y values with residual variability