runAll: Run doClsutering() for all variables in data.frame and save...

Description Usage Arguments Value Examples

View source: R/runAll.R

Description

Run doClsutering() for all variables in data.frame and save plots.

Usage

1
2
runAll(data, bad, distanceMethod = "euclidean", clustMethod = "ward.D2",
  dir = getwd(), eps = 1.05, sen = 1000)

Arguments

data

A data.frame containing the analysed variables. All variables must be factors or logical.

bad

A character name of the column of independent variable of data.

distanceMethod

A character, check ?dist.

clustMethod

A character, check ?hclust.

dir

A directory where function saves the images.

eps

A number from 1 to 2 which manage how many cluster function returns.

sen

A number of sensitive what is the less value of observations in a band. If the number of observation is lower than sen then function returns warning.

Value

A data.frame with summaries of Clusterrr objects for all variables. Side-effect are plots of Clusterrr save in dir.

Examples

1
2
data(lendclub)
#runAll(lendclub, "loan_status", dir = getwd())

wojciechoblak/varbinq documentation built on May 4, 2019, 9:46 a.m.