clusDropVar | R Documentation |
A Function to loop thru and drop variables from a data.frame for clustering uses.
clusDropVar(x, y, threshold = 0.5, vte = c(), xLoopsBeforePrint = 10)
x |
A data.frame object |
y |
A numeric vector of cluster numbers to try. |
threshold |
A number for 0 - 1 for silhouette width to excede. |
vte |
A character vector containing column names to exclude from consideration. |
xLoopsBeforePrint |
A number for how many loops to skip before printing information to console. Higher number means less output. |
clusDropVar(iris, 3:5, threshold = .6, vte = "Species")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.