powered by
Hierarchical cluster analysis
hclus( dataset, vars, labels = "none", distance = "sq.euclidian", method = "ward.D", max_cases = 5000, standardize = TRUE, data_filter = "", envir = parent.frame() )
A list of all variables used in hclus as an object of class hclus
Dataset
Vector of variables to include in the analysis
A vector of labels for the leaves of the tree
Distance
Method
Maximum number of cases allowed (default is 1000). Set to avoid long-running analysis in the radiant web-interface
Standardized data (TRUE or FALSE)
Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")
Environment to extract data from
See https://radiant-rstats.github.io/docs/multivariate/hclus.html for an example in Radiant
summary.hclus to summarize results
summary.hclus
plot.hclus to plot results
plot.hclus
hclus(shopping, vars = "v1:v6") %>% str()
Run the code above in your browser using DataLab