## Variance threshold - rank according to variance
featrank_var = function(Y, X, family, ties_method = "last", ...) {
vars <- apply(X, 2, function(x) {
var(x)
})
return(rank(-vars, ties.method = ties.method))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.