Description Usage Arguments Details Value
View source: R/Transformations.R
Considers the best transformed dataset based on three metrics
Shapiro P Value
Pearson P Value
Min skewness
Best possible transformation is applied to all the continous columns in the dataset for each of the above mentioned metrics and three datasets are collected respectively. Best dataset is chosen based on the performance metrics of the dataset on a base model. Original dataset is also considered for the performance measure to actually check if transforming the data is necessary.
1 | BestTransform(data, dv)
|
data |
Any data frame that has atlest one column with continuous data and that has to transformed into normal form |
dv |
Dependent variable in the dataset. |
Takes in a data frame and performs the best possible transformation to each of the columns in the data frame
Returns a list of 2 objects:
Tranformed Dataset for all Continuous variables
Model fit file to fit the test data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.