do_clutch_time {BAwiR}R Documentation

Get games with clutch time

Description

Obtain the games that have clutch time. The clutch time is the game situation when the scoring margin is within 5 points with five or fewer minutes remaining in a game.

Usage

do_clutch_time(data)

Arguments

data

Source play-by-play data.

Value

Data frame of the game that has clutch time.

Author(s)

Guillermo Vinue

Examples

df0 <- do_clutch_time(acb_vbc_cz_pbp_2223)
#df0 # If no rows, that means that the game did not have clutch time.


[Package BAwiR version 1.3.2 Index]