getClusterVarsHclust: Obtain cluster variables (hclust)

getClusterVarsHclustR Documentation

Obtain cluster variables (hclust)

Description

Extracts a data.frame that contains grouping variables according to clustering results.

Usage

getClusterVarsHclust(object, ...)

## S4 method for signature 'Clustering'
getClusterVarsHclust(
  object,
  ks = NULL,
  hs = NULL,
  methods_dist = "euclidean",
  methods_aggl = "ward.D",
  prefix = "",
  naming_k = "{method_dist}_{method_aggl}_k{k}",
  naming_h = "{method_dist}_{method_aggl}_h{h}"
)

## S4 method for signature 'Analysis'
getClusterVarsHclust(
  object,
  ks = NULL,
  hs = NULL,
  methods_dist = "euclidean",
  methods_aggl = "ward.D",
  prefix = "",
  naming_k = "{method_dist}_{method_aggl}_k{k}",
  naming_h = "{method_dist}_{method_aggl}_h{h}"
)

Arguments

object

Any object for whose class a method has been defined.

ks

Numeric vector. Denotes all options for k-clusters. Values <1 are discarded. Is converted into an integer vector.

hs

Numeric vector. Denotes the heights at which the dendrogram is cut.

Value

A data.frame.


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.