ConfusionEvolution: Plot the evolution of the ConfusionPlot as merging happens

Description Usage Arguments Details Value Examples

Description

Animated version of ConfusionPlot

Usage

1
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.

Details

See ConfusionPlot and animate.

Value

a gganim object

Examples

1
2
3
4
5
## Not run: 
  data("clusMat", package = "Dune")
  merger <- Dune(clusMat = clusMat)
  ConfusionEvolution(merger, x = "A", y = "B")
## End(Not run)

Dune documentation built on Nov. 8, 2020, 7:55 p.m.