Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

bursts (version 1.0-2)

plot.bursts: Plots a burst model

Description

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

Usage

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

Value

No return value; called to produce a plot.

Arguments

x

a data frame produced by the kleinberg function.

...

other parameters are passed along to plot.

Author

Jeff Binder

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.

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

Run this code
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)

Run the code above in your browser using DataLab