Description Usage Arguments Value Examples
View source: R/data_transformation.R
log_trans
is for logarithmic transformation
1 2 3 4 5 6 7 8 9 10 |
dat |
A data.frame. |
target |
The name of target variable. |
x_list |
A list of x variables. |
cor_dif |
The correlation coefficient difference with the target of logarithm transformed variable and original variable. |
ex_cols |
Names of excluded variables. Regular expressions can also be used to match variable names. Default is NULL. |
note |
Logical, outputs info. Default is TRUE. |
Log transformed data.frame.
1 2 | dat = log_trans(dat = UCICreditCard, target = "default.payment.next.month",
x_list =NULL,cor_dif = 0.01,ex_cols = "ID", note = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.