hc_explore | R Documentation |
massive function for exploratory hierachical cluster analysis. computes hierarchical, kmeans, and hierarchical with kmeans relocation cluster analyses, adds them to the working dataset and returns other working information
hc_explore(
data,
cvars,
mes = "rawdata",
metric = "euclidean",
method = "ward",
diss = FALSE,
maxclust = 15,
bindata = FALSE
)
data |
a dataframe containing only the identifier and raw data to be clustered |
cvars |
vector of names in order for all variables to be used in the clustering |
mes |
vector of distance measures to use. default is distance measures from |
metric |
metric to use in the agnes cluster analysis. default is 'euclidean' |
method |
method of hierarchical clustering to use. default is 'ward' |
diss |
whether dissimilarity matrix is being passed (TRUE) or raw data (FALSE). default is FALSE |
maxclust |
maximum cluster solutions to produce. default is 15 |
bindata |
is the data being analyzed binary data (TRUE) or not (FALSE). default is FASLE |
hc_explore_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.