hcmsma: Hierarchical cluster analysis

View source: R/src.r

hcmsmaR Documentation

Hierarchical cluster analysis

Description

This is a function for performing a hierarchical cluster analysis using scores

Usage

hcmsma(
  object,
  nclust = 4,
  graph = FALSE,
  hmethod = "ward.D2",
  axes = c(1, 2),
  block = "block",
  XY = "X"
)

Arguments

object

an object of class "msma", usually, a result of a call to msma

nclust

a numeric scalar, number of clusters.

graph

a numeric vector, numbers of columns for Y. The length of vector corresponds to the number of blocks.

hmethod,

the agglomeration method to be used in the function "hclust".

axes

a numeric (or vector), specifying the component(s) to analyze.

block

a character, indicating which the "block" or "super" is used.

XY

a character, indicating "X" or "Y".

Details

This function performs a hierarchical cluster analysis using scores.

Value

hcout

An object of class hclust

clusters

a vector with group memberships

object

an object of class "msma", usually, a result of a call to msma


msma documentation built on Aug. 25, 2023, 9:07 a.m.