# 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