Learn R Programming

clusterfly (version 0.4)

cfly_fluct: Static plot: Fluctuation diagram. Draw a fluctuation diagram comparing two clusterings.

Description

Static plot: Fluctuation diagram. Draw a fluctuation diagram comparing two clusterings.

Usage

cfly_fluct(cfly, a, b, clarify = TRUE)

Arguments

cfly
clusterfly object
a
first clustering, will be reordered to match b if clarify=TRUE
b
second clustering
clarify
use clarify to rearranged cluster indices?

Examples

Run this code
if (require("ggplot2")) {
o <- olive_example()
cfly_fluct(o, "kmeans", "Region")
cfly_fluct(o, "kmeans", "Region", clarify = FALSE)
}

Run the code above in your browser using DataLab