Description Usage Arguments Value
View source: R/pred_original.R
Using given standard deviation, mean, and lambda, transform the predicted value to the original scale. It also works for Box-Cox transformation.
1 | original_pred(pred, sd = 1, mean = 0, boxcox_lambda = NULL)
|
pred |
Predicted value that should be scaled back. |
sd |
The Standard deviation used for scaling the outcome. |
mean |
The mean value used for centering the outcome |
boxcox_lambda |
The value used for Box-Cox transformation. |
The predicted value transformed to the scale of the original value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.