Description Usage Arguments Details Value Examples
View source: R/orderpredictors.R
Sort columns by increasing entropy values based on the factors of the response variable.
1 | orderpredictors(data, x, y)
|
data |
Dataframe |
x |
vector of variable names of predictors |
y |
response variable |
The mean entropy value is calculated for each variables based on every outcome in the response variable. Then this value is used for sorting the predictors.
A vector of predictor names ordered by increasing entropy and corresponding entropy values
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.