openvolley / ovscout2

An R Shiny app for scouting volleyball data files
https://ovscout2.openvolley.org
Other
5 stars 1 forks source link

Player responsibility function revisions #14

Closed raymondben closed 2 years ago

raymondben commented 2 years ago

Would be good to use subzones or coordinates - something more precise than zones - when calculating player responsibility (for passing, in particular). I played with a couple of ideas but could not come up with anything for coordinates or subzones that was both efficient and also able to handle small sample sizes (e.g. early in a match when not many passes have been made). In the meantime, there is also an issue with the current code in that sort(passing_responsibility_posterior, decreasing = TRUE) will always retain the existing ordering of passing_responsibility_posterior for tied elements. And because passing_responsibility_posterior is ordered by player 1 to 6 then libero, the libero is always last when there are ties, and so never gets selected when there are ties.

raymondben commented 2 years ago

Leave it with me, there's something else going on here too.