plot.bursts {bursts}R Documentation

Plots a burst model

Description

This method produces a simple plot of the burst structure produced by the kleinberg function.

Usage

## S3 method for class 'bursts'
plot(x, ...)

Arguments

x

a data frame produced by the kleinberg function.

...

other parameters are passed along to plot.

Details

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.

Author(s)

Jeff Binder

References

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

See Also

kleinberg

Examples

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)

[Package bursts version 1.0-1 Index]