JoGall / soccermatics

Tools for visualisation and analysis of soccer tracking and event data
308 stars 36 forks source link

soccerSpokes doesn't work and usage sample is not correct #3

Closed davidfombella closed 6 years ago

davidfombella commented 6 years ago

When using soccerSpokes generates this message soccerSpokes(subset(tromso, id == 8), bins = 15, lengthPitch = 105, widthPitch = 68,heatmap = FALSE) Error in 1:n : NA/NaN argument


help displays soccerHeatmap help page as usage example help(soccerSpokes)

Examples

Not run:

data(tromso)

draw heatmap of player #9's position

soccerHeatmap(subset(tromso, id == 8), bins = 15)

End(Not run)

JoGall commented 6 years ago

Thanks for the heads up. The soccerSpokes function should work now and I've added a soccerFlow function for summarising mean angle in each area of the pitch.

davidfombella commented 6 years ago

No Joe, no on another laptop, I can't even install package.

files in 'C:/Users/dpomb/AppData/Local/Temp/RtmpisTfHK/devtools900751360cd/JoGall-soccermatics-7de0445/R' missing from 'Collate' field: soccerSpokes.R ERROR: unable to collate and parse R files for package 'soccermatics'