12
12
# ' @param punts The play-by-play punting data to be summarized
13
13
# ' @param threshold The minimum number of career punts needed to be included, defaults to 64
14
14
# ' @param ... Any additional arguments will be passed through to \code{dplyr::summarise}
15
- # ' @return A tibble \code{punters} where each row is a punter and each column is a stat
15
+ # ' @return A tibble where each row is a punter and each column is a stat
16
16
# ' @examples
17
17
# ' \dontrun{
18
- # ' create_mini(punts)
18
+ # ' punters <- by_punters(punts)
19
+ # ' punters_custom <- by_punters(punts, longest_punt = max(GrossYards))
20
+ # ' more_punters <- by_punters(punts, threshold=16)
19
21
# ' }
20
22
# ' @export
21
23
by_punters <- function (punts , ... , threshold = 64 ) {
@@ -39,10 +41,10 @@ by_punters <- function(punts, ..., threshold=64) {
39
41
# ' if you have additional parameters you'd like to be summarised, the easiest thing would be to call \code{summarise} yourself.
40
42
# ' @param punts The play-by-play punting data to be summarized
41
43
# ' @param threshold The minimum number of punts for a season to be included, defaults to 32
42
- # ' @return A tibble \code{miniY} where each row is a punter-season and each column is a stat
44
+ # ' @return A tibble where each row is a punter-season and each column is a stat
43
45
# ' @examples
44
46
# ' \dontrun{
45
- # ' create_miniY (punts)
47
+ # ' by_punter_seasons (punts)
46
48
# ' }
47
49
# ' @export
48
50
by_punter_seasons <- function (punts , ... , threshold = 32 ) {
@@ -68,10 +70,10 @@ by_punter_seasons <- function(punts, ..., threshold=32) {
68
70
# ' if you have additional parameters you'd like to be summarised, the easiest thing would be to call \code{summarise} yourself.
69
71
# ' @param punts The play-by-play punting data to be summarized
70
72
# ' @param threshold The minimum number of punts for a week to be included, defaults to 1
71
- # ' @return A tibble \code{miniG} where each row is a punter-week and each column is a stat
73
+ # ' @return A tibble where each row is a punter-week and each column is a stat
72
74
# ' @examples
73
75
# ' \dontrun{
74
- # ' create_miniG (punts)
76
+ # ' by_punter_games (punts)
75
77
# ' }
76
78
# ' @export
77
79
by_punter_games <- function (punts , ... , threshold = 1 ) {
0 commit comments