Skip to contents

This function allows you to calculate team-level consistency in run scoring and run prevention over the course of an entire season.

Usage

team_consistency(year)

Arguments

year

Season consistency should be run for.

Value

Returns a tibble with the following columns

col_nametypesdescription
TeamcharacterTeam name.
Con_RnumericRun-scoring consistency score for the season.
Con_RAnumericRun-prevention (runs allowed) consistency score.
Con_R_PtilenumericPercentile rank of run-scoring consistency.
Con_RA_PtilenumericPercentile rank of run-prevention consistency.

Details

  try(team_consistency(year=2021))