Learn R Programming

clusterfly (version 0.4)

cfly_clarify: Match all cluster indices to common reference.

Description

It's a good idea to run this before running any animation sequences so that unnecessary colour changes are minimised.

Usage

cfly_clarify(cf, reference = 1, method = "rowmax")

Arguments

cf
clusterfly object
reference
index to reference clustering
method
method to use, see clarify

Examples

Run this code
o <- olive_example()
o <- cfly_clarify(o, "Region")

Run the code above in your browser using DataLab