team_consistency: *Calculate Team-level Consistency*

View source: R/metrics_team_consistency.R

team_consistencyR Documentation

Calculate Team-level Consistency

Description

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.

Details

try(team_consistency(year=2021))

Value

Returns a tibble with the following columns

col_name types
Team character
Con_R numeric
Con_RA numeric
Con_R_Ptile numeric
Con_RA_Ptile numeric

baseballr documentation built on April 1, 2023, 12:12 a.m.