plot_shot: Plot an Event.

Description Usage Arguments Value

View source: R/gif.R

Description

Plot an Event.

Usage

1
plot_shot(obj, loop = 1, static = FALSE)

Arguments

obj

A subset of the data frame object returned from the sportvu_df function.

loop

Integer used to loop over each time point of obj when using the saveGIF function.

static

Logical variable which defaults to FALSE. If looping over obj for use with saveGIF then this should be set to TRUE.

Value

A plot of a basketball event.


imadmali/NBAsportvu documentation built on May 17, 2019, 9:12 a.m.