plot.bursts | R Documentation |
This method produces a simple plot of the burst structure produced by the kleinberg
function.
## S3 method for class 'bursts' plot(x, ...)
x |
a data frame produced by the |
... |
other parameters are passed along to |
Horizontal bars represent the ‘bursts,’ with their vertical position indicating the level (i.e. intensity) and the x axis representing time. Bars appear above others to represent the hierarchical structure that emerges when long bursts contain sub-bursts of even higher activity.
No return value; called to produce a plot.
Jeff Binder
J. Kleinberg. Bursty and Hierarchical Structure in Streams. Proc. 8th ACM SIGKDD Intl. Conf. on Knowledge Discovery and Data Mining, 2002.
http://www.cs.cornell.edu/home/kleinber/kdd02.html
kleinberg
offsets <- c(seq(0, 400, 100), seq(410, 450, 5), seq(451, 470, 2), seq(480, 600, 5), 700, seq(710, 800, 5), 900, 1000) bursts <- kleinberg(offsets) plot(bursts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.