Learn R Programming

MLGL (version 1.0.0)

bootstrapHclust: Hierarchical Clustering with distance matrix computed using bootstrap replicates

Description

Hierarchical Clustering with distance matrix computed using bootstrap replicates

Usage

bootstrapHclust(X, frac = 1, B = 50, method = "ward.D2", nCore = NULL)

Value

An object of class hclust

Arguments

X

data

frac

fraction of sample used at each replicate

B

number of replicates

method

desired method: "single", "complete", "average", "mcquitty", "ward.D", "ward.D2", "centroid", "median".

nCore

number of cores

Examples

Run this code
hc <- bootstrapHclust(USArrests, nCore = 1)

Run the code above in your browser using DataLab