Learn R Programming

soccermatics (version 0.9.0)

tromso: x,y-coordinates of 11 soccer players over 12000 frames each

Description

x,y-coordinates of 11 soccer players over 10 minutes (Troms<U+00F8> IL vs. Anzhi, 2013-11-07), captured at 20 Hz using the ZXY Sport Tracking system and made available in the publication ZXY Sport Tracking.

Usage

data(tromso)

Arguments

Format

A dataframe containing 12000 frames of x,y-coordinates and timestamps from 11 players.

References

Pettersen et al. (2014) Proceedings of the International Conference on Multimedia Systems (MMSys)

Examples

Run this code
# NOT RUN {
data(tromso)
# draw path of player #8 on a soccer pitch
soccerPitchBG(lengthPitch = 105, widthPitch = 68, grass = TRUE) + 
  geom_path(data = subset(tromso, id == 8), aes(x, y), lwd = 2)

# }

Run the code above in your browser using DataLab