clusDropVar: A Function to loop thru and drop variables from a data.frame...

View source: R/clusDropVar2.R

clusDropVarR Documentation

A Function to loop thru and drop variables from a data.frame for clustering uses.

Description

A Function to loop thru and drop variables from a data.frame for clustering uses.

Usage

clusDropVar(x, y, threshold = 0.5, vte = c(), xLoopsBeforePrint = 10)

Arguments

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.

Examples

clusDropVar(iris, 3:5, threshold = .6, vte = "Species")

barrenWuffet/convPkg documentation built on Jan. 25, 2024, 9:59 p.m.