Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saiemgilani committed Jun 10, 2022
1 parent 285993a commit ee45431
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion R/cfbd_drives.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#' @export
#' @examples
#' \donttest{
#' try(fbd_drives(2018, week = 1, team = "TCU"))
#' try(cfbd_drives(2018, week = 1, team = "TCU"))
#'
#' try(cfbd_drives(2018, team = "Texas A&M", defense_conference = "SEC"))
#' }
Expand Down
2 changes: 1 addition & 1 deletion R/cfbd_venues.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' @importFrom dplyr rename
#' @examples
#' \donttest{
#' cfbd_venues()
#' try(cfbd_venues())
#' }
#' @export

Expand Down
40 changes: 20 additions & 20 deletions R/create_wpa_naive.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' @name create_wpa
#' @name create_wpa
#' @aliases create_wpa_naive wpa_calcs_naive
#' @title **Create WPA**
#' @description Add Win Probability Added (WPA) calculations to Play-by-Play DataFrame
Expand All @@ -8,25 +8,25 @@
#' @details Requires the following columns to be present in the input data frame.
#' @return The original `df` with the following columns appended to it:
#' \describe{
#' \item{wp_before}{}
#' \item{def_wp_before}{}
#' \item{home_wp_before}{}
#' \item{away_wp_before}{}
#' \item{lead_wp_before}{}
#' \item{lead_wp_before2}{}
#' \item{wpa_base}{}
#' \item{wpa_base_nxt}{}
#' \item{wpa_base_ind}{}
#' \item{wpa_base_nxt_ind}{}
#' \item{wpa_change}{}
#' \item{wpa_change_nxt}{}
#' \item{wpa_change_ind}{}
#' \item{wpa_change_nxt_ind}{}
#' \item{wpa}{}
#' \item{wp_after}{}
#' \item{def_wp_after}{}
#' \item{home_wp_after}{}
#' \item{away_wp_after}{}
#' \item{wp_before}{.}
#' \item{def_wp_before}{.}
#' \item{home_wp_before}{.}
#' \item{away_wp_before}{.}
#' \item{lead_wp_before}{.}
#' \item{lead_wp_before2}{.}
#' \item{wpa_base}{.}
#' \item{wpa_base_nxt}{.}
#' \item{wpa_base_ind}{.}
#' \item{wpa_base_nxt_ind}{.}
#' \item{wpa_change}{.}
#' \item{wpa_change_nxt}{.}
#' \item{wpa_change_ind}{.}
#' \item{wpa_change_nxt_ind}{.}
#' \item{wpa}{.}
#' \item{wp_after}{.}
#' \item{def_wp_after}{.}
#' \item{home_wp_after}{.}
#' \item{away_wp_after}{.}
#' }
#' @keywords internal
#' @importFrom dplyr mutate lag lead filter case_when arrange
Expand Down
2 changes: 1 addition & 1 deletion man/cfbd_drives.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/cfbd_venues.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions man/create_wpa.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ee45431

Please sign in to comment.