fGetPitchControlProbabilities: Pitch control

fGetPitchControlProbabilitiesR Documentation

Pitch control

Description

Pitch control

Usage

fGetPitchControlProbabilities(
  lData,
  viTrackingFrame,
  params = c(),
  nYSpan = 80,
  nXSpan = 120,
  iGridCellsX = 120,
  bGetPlayerProbabilities = F,
  bVerbose = F,
  vnXArray = NULL,
  vnYArray = NULL
)

Arguments

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


thecomeonman/CodaBonito documentation built on April 24, 2023, 11:41 a.m.