retrans | R Documentation |
Back-tranform scaled, (possibly) logged model predictions
retrans(x, scale_var, log = TRUE, recensor = FALSE, lcl = 2e-04)
x |
A vector. |
scale_var |
A vector by which to rescale |
log |
Logical. Back-transform predictions using |
recensor |
Logical. Recensor (left-censor) after back-transforming? |
lcl |
Left-censoring limit for recensor = TRUE. |
A vector of back-transformed predictions.
x <- rnorm(10, 10)
x_trans <- scale(x)[,1]
retrans(x_trans, x, log = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.