fGetPitchControlProbabilities | R Documentation |
Pitch control
fGetPitchControlProbabilities(
lData,
viTrackingFrame,
params = c(),
nYSpan = 80,
nXSpan = 120,
iGridCellsX = 120,
bGetPlayerProbabilities = F,
bVerbose = F,
vnXArray = NULL,
vnYArray = NULL
)
lData |
output of fParseTrackingDataBothTeams |
viTrackingFrame |
frames you want processed |
params |
has defaults in the function code but refer to the function code to see what values are there that you can override |
nYSpan |
pitch dimensions, sideline to sideline, centre circle is 0,0 |
nXSpan |
pitch dimensions goal to goal, centre circle is 0,0 |
iGridCellsX |
resolution of the calculation |
bGetPlayerProbabilities |
Whether only the overall probability per team should be returned or even the deatils of the break up between players should be returned |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.