Animated version of ConfusionPlot

ConfusionEvolution(merger, unclustered = NULL, x, y, state_length = 1)

Arguments

merger

the result from having run Dune on the dataset

unclustered

The value assigned to unclustered cells. Default to NULL

x

The name of the first cluster label to plot

y

The name of the second cluster label to plot

state_length

Time between steps. Default to 1. See transition_states for details.

Value

a gganim object

Details

See ConfusionPlot and animate.

Examples

if (FALSE) { data("clusMat", package = "Dune") merger <- Dune(clusMat = clusMat) ConfusionEvolution(merger, x = "A", y = "B")}