get_snapshots: Produce time sequenced pitch locations from PITCHf/x...

Description Usage Arguments Value References

View source: R/get_snapshots.R

Description

Produce time sequenced pitch locations from PITCHf/x parameters

Usage

1
get_snapshots(data, interval = 0.01)

Arguments

data

The nine PITCHf/x parameters used to determine the location of a pitch at a given time.

interval

the amount of time between 'snapshots'

Value

Return a three dimensional array. The third dimension corresponds to different 'snapshots' of locations.

References

http://baseball.physics.illinois.edu/KaganPitchfx.pdf


pontsuyu/pitchRx2 documentation built on Dec. 27, 2019, 8:09 a.m.