Description Usage Arguments Value See Also Examples
clusterDT produces a nicely formatted DT::datatable 
representation of a mt_variable_cluster or mt_variable_cluster_plus 
object.
1 2  | clusterDT(x, columnFilters = FALSE, highlightVars = NA_character_,
  highlightColor = "yellow", varNameTransform = function(x) {     x })
 | 
x | 
 
  | 
columnFilters | 
 logical value; include column filters?  | 
highlightVars | 
 character vector;   | 
highlightColor | 
 character string; highlight color (valid color)  | 
varNameTransform | 
 function used to transform   | 
A datatable representation of a mt_variable_cluster or 
mt_variable_cluster_plus object.
variable_cluster, variable_cluster_plus, datatable
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  | # regular variable cluster
x <- variable_cluster(mtcars, 3)
clusterDT(x)
# variable cluster plus info value
x <- variable_cluster(mtcars[names(mtcars) != "vs"], 3)
y <- lapply(mtcars[names(mtcars) != "vs"], woe, y = mtcars$vs)
y <- lapply(y, infoValue)
z <- variable_cluster_plus(x, y)
clusterDT(z)
# variable cluster plus R-squared
x <- variable_cluster(mtcars[names(mtcars) != "mpg"], 3)
y <- lapply(mtcars[names(mtcars) != "mpg"], nrsq, y = mtcars$mpg)
z <- variable_cluster_plus(x, y)
clusterDT(z)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.