Skip to contents

Calculate fantasy points using play-by-play and data and user-defined scoring settings (e.g., 6PT PASS TD, -2 PASS INT, Full PPR)

Usage

calc_fpts(pbp = pbp, pass_td_pts = 6, pass_int_pts = -2, rec_pts = 1)

Arguments

pbp

Play-by-play Dataframe

pass_td_pts

Passing Touchdown Points

pass_int_pts

Passing Interception Points

rec_pts

Reception Points

Value

Dataframe with total fantasy points using play-by-play data and user-defined scoring settings (e.g., 6PT PASS TD, -2 PASS INT, Full PPR)

Author

Nolan MacDonald