Learn R Programming

salso (version 0.1.9)

plot.salso.confidence: Confidence and Exemplar Plotting

Description

This function produces confidence plots (e.g., heatmaps of pairwise allocation probabilities) and exemplar plots. The "exemplar" refers to the best representative of a particular cluster. See confidence for further explanation.

Usage

# S3 method for salso.confidence
plot(
  x,
  estimate = NULL,
  data = NULL,
  showLabels = length(x$estimate) 

Arguments

x

An object returned by the confidence function.

estimate

A vector of length n, where i and j are in the same subset (i.e., cluster) if and only if estimate[i] == estimate[j].' If NULL, the x$estimate in used.

data

The data from which the distances were computed.

showLabels

Should the names of items be shown in the plot?

...

Currently ignored.

Value

NULL, invisibly.

See Also

confidence, psm, dlso, salso

Examples

Run this code
# NOT RUN {
probs <- psm(iris.clusterings, parallel=FALSE)
est <- salso(probs, nPermutations=50, parallel=FALSE)$estimate
conf <- confidence(est, probs)
plot(conf)
plot(conf,data=iris)

# }

Run the code above in your browser using DataLab