Description Usage Arguments Value
Takes predictions from model object(s) and and combines it with actual values This function takes a vector of strings that represent the model object names trfm <- function(df_variable, missing, min, max, zero_value, transformation)
1 |
df_variable |
A vector that contains the original values that need to be transformed |
missing |
The value that should replace any missing values in the dataset |
min |
The minimum value that a given variable should take; any value below the minimum will be set equal to the min value |
max |
The maximum value that a given variable should take; any value above the maximum will be set equal to the max value |
zero_value |
This is the value that any value of 0 should be. |
transformation |
This is an integer value for corresponding to one of three transformation: 0 == no transformation, 1 == log(), 2 == sqrt() |
trfm() will a vector of transformed values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.