cfly_animate: Dynamic plot: Animate glyph colours

Description Usage Arguments Examples

View source: R/clusterfly.r

Description

This function will animate until you manually break the loop using Ctrl-Break or Ctrl-C.

Usage

1
2
cfly_animate(cf, clusters = seq_along(cf$clusters), pause = 1,
  print = TRUE, max_iterations = 100)

Arguments

cf

list of cluster ids that you want to animate across

clusters

clusters to display

pause

clusters number of seconds to pause between each change

print

print current cluster to screen?

max_iterations

maximum number of interations

Examples

1
2
3
4
5
6
# Press Ctrl-Break or Ctrl-C to exit
if (interactive()) {
o <- olive_example()
cfly_animate(cfly_clarify(o), max = 5)
close(o)
}

clusterfly documentation built on May 19, 2017, 10:05 p.m.

Search within the clusterfly package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.