boot.proportions: Heatmap of the proportion of bootstrap replicates where...

View source: R/funcs.R

boot.proportionsR Documentation

Heatmap of the proportion of bootstrap replicates where objects cluster together

Description

Heatmap of the proportion of bootstrap replicates where objects cluster together

Usage

boot.proportions(
  x,
  col = grDevices::heat.colors(101, rev = TRUE),
  show.vals = F,
  text.col = "black",
  cluster.col = "firebrick",
  ...
)

Arguments

x

an object of class clusboot

col

vector of colours for shading to indicate proportion values

show.vals

logical value indicating whether proportion values should be added to individual cells

text.col

colour of text for show.vals if TRUE

cluster.col

colour of lines demarcating cluster membership

...

more arguments to be passed to plot()

Examples

out <- clusboot (scale(case.study.psychiatrist), B=100, k=6, clustering.func=complete.linkage)
boot.proportions(out)

ClusBoot documentation built on Oct. 17, 2023, 5:11 p.m.