| .calculate_angle | R Documentation |
.calculate_angle() calculates the Euclidean angle from the attacking net for all the events (plays) in a play-by-play.
.calculate_angle(play_by_play)
play_by_play |
data.frame of play-by-play(s); see |
data.frame with one row per event (play) and added angle column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.