15
Budapest University of Technology and Economics Department of Measurement and Information Systems Budapest University of Technology and Economics Fault Tolerant Systems Research Group Streamgraph package Budapest Users of R Network Meetup Ágnes Salánki [email protected]

The Streamgraph R package

Embed Size (px)

Citation preview

Page 1: The Streamgraph R package

Budapest University of Technology and Economics Department of Measurement and Information Systems

Budapest University of Technology and Economics Fault Tolerant Systems Research Group

Streamgraph package

Budapest Users of R Network Meetup Ágnes Salánki

[email protected]

Page 2: The Streamgraph R package

HBO Series

2014 2015

US viewers in Million

Page 3: The Streamgraph R package

HBO Series

2014 2015

True Detective

Girls

Silicon Valley

Game of Thrones

Veep

The Leftovers

Getting On

The Comeback

Togetherness

Ballers

The Brink

Page 5: The Streamgraph R package

Antipattern: baby names

Page 6: The Streamgraph R package

Antipattern: baby names

Line charts instead?

Page 7: The Streamgraph R package

Streamgraph R package

htmlwidget for creating streamgraphs

3 parameters

o date (also continuous)

o category

o value

• ~Stat = „identity” in geom_bar

ggplot(df) + geom_bar(aes(x = group), stat = "bin")

ggplot(df) + geom_bar(aes(x = group, y = value), stat = "identity")

variable value

A 1

A 20

B 3

Page 8: The Streamgraph R package

useR! attendees

Page 9: The Streamgraph R package

useR! attendees

Aalborg, Denmark

Albacete, Spain

Coventry, UK

Rennes, France

Dortmund, Germany

Page 10: The Streamgraph R package

useR! attendees

Legends

o Only interactively

Colors

o Manual set is unstable

Initiatives for statistical plotting

o sg_annotate

o sg_add_marker

Page 11: The Streamgraph R package

Client-Server Communication

Protocol monitoring

Client Server

X1

X2

X3

Benchmarking

Client Server

X1

X2

X3

Client2

X1

X2

X3

Page 12: The Streamgraph R package

Protocol monitoring: the good

Page 13: The Streamgraph R package

Protocol monitoring: the bad

Page 14: The Streamgraph R package

Protocol monitoring: the ugly

Page 15: The Streamgraph R package

Conclusion

Excellent exploratory tool

Simple time series analysis