calculate_all: Calculate metrics

View source: R/calculate.R

calculate_allR Documentation

Calculate metrics

Description

This function adds all Puntalytics metrics to your punting data: RERUN, SHARP, SHARPnet and SHARP_RERUN (plus open-field and pin-deep versions of the 3 SHARPs) as well as average and cumulative EPA (our custom EPA metric.)

Usage

calculate_all(punts)

Arguments

punts

The already-processed play-by-play punting data to which metrics will be added. Must contain at least three seasons and 1000 punts.

Value

A tibble punts with the calculated metrics added

Examples

## Not run: 
calculate_all(punts)

## End(Not run)

Puntalytics/puntr documentation built on Sept. 7, 2024, 5:23 p.m.