Description Usage Arguments Examples
A function to plot data streams and clusterings. The visualisation is based on shiny and ggplot. Data is plotted as a scatterplot matrix and individual scatterplots can be selected for a more detailed view that includes tooltips. Please note that this function was developed for the Streaming algorithms in the subspaceMOA package and may or may not work for streams and clustering algorithms.
1 2 | animate_stream_interactive(dsc, dsd, step = 1500, delay = 10000,
launch.browser = getOption("shiny.launch.browser", interactive()))
|
dsc |
a DSC object representing the clustering of a data stream. |
dsd |
a DSD object representing a data stream. |
step |
the step size used in animate_stream_interactive. This regulates how many points will be taken out of the stream, clustered and the plotted along with their clusters every time a step is performed. |
delay |
time between two clustering steps |
launch.browser |
will be passed on to runApp, so that the visualisation can be shown in e.g. RStudio's Viewer pane, if this is desired. |
1 2 3 4 5 6 7 8 | clusterer <- DSC_ThreeStage(DSC_p3c(),DSC_subspaceCluStream())
stream <- DSD_RandomRBFSubspaceGeneratorEvents()
## Not run:
animate_stream_interactive(clusterer,stream)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.