AddTime: Fill in missing time remaining for CFB Stats plays

Description Usage Arguments Value Examples

Description

This function estimates the time remaining of all plays in the CFB Stats play file. It does this by extrapolating the values between instances where there are times listed in the file.

Usage

1
AddTime(plays)

Arguments

plays

a data frame containing plays from the CFB Stats play.csv file

Value

A data frame with a new column called New.Clock with the estimated time remaining of each play

Examples

1
2
3
plays <- readin("play", 2010:2014)
newtime <- AddTime(plays)
ggplot2::qplot(x = New.Clock, data = newtime)

mattmills49/CFBWinProbability documentation built on May 21, 2019, 1:24 p.m.