dist_measure_explore: dist_measure_explore function

View source: R/cluster.R

dist_measure_exploreR Documentation

dist_measure_explore function

Description

massive function for exploratory hierachical cluster analysis varying distance measures,

Usage

dist_measure_explore(
  data,
  cvars,
  mes = "rawdata",
  metric = "euclidean",
  method = "ward",
  diss = TRUE,
  maxclust = 15,
  bindata = FALSE
)

Arguments

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 TRUE

maxclust

maximum cluster solutions to produce. default is 15

bindata

is the data being analyzed binary data (TRUE) or not (FALSE). default is FASLE

Examples

dist_measure_explore_function()

clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.