Description Usage Arguments Value Examples
View source: R/func_trfm_auto_2.r
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
1 2 | trfm_auto(trfm_df, data_df, variable_col, min_col, max_col, zero_value_col,
missing_col, transformation_col, keep_col)
|
trfm_df |
The dataframe or datatable that contains the information for the transformations (i.e. values for the trfm() function) |
data_df |
The dataframe or datatable that contains the data that needs to be transformed |
variable_col |
The name of the column that holds the variable names for which the data need to be transformed. Default is 'variable' |
min_col |
The name of the column that holds the minimum values for the trfm() function. Default is 'min' |
max_col |
The name of the column that holds the maximum values for the trfm() function. Default is 'max' |
zero_value_col |
The name of the column that holds the zero-value for the trfm() function. Default is 'zero_value' |
missing_col |
The name of the column that holds the missing value for the trfm() function. Default is 'missing' |
transformation_col |
The name of the column that holds the transformation indicator. Default is 'transformation'. Key: 0 = no transformation; 1 = log(); 2 = sqrt() |
keep_col |
The name of the column that holds the 'y' or 'n' to keep a certain variable. Default is 'keep' |
trfm_auto() return a dataframe of the original data and the appended transformed data using trfm() and the parameters provided
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.