Closed JoGall closed 6 years ago
Requested by email:
Include boolean argument swapSides in functions; if TRUE, adjust x,y-coordinates from 2nd period to match attacking direction in 1st period.
swapSides
e.g.
new.x = pitchLength - x new.y = pitchWidth - y
Added soccerFlipHoriz.R() function to flip x,-y-coordinates of both sides in one half.
soccerFlipHoriz.R()
Requested by email:
Include boolean argument
swapSides
in functions; if TRUE, adjust x,y-coordinates from 2nd period to match attacking direction in 1st period.e.g.