Learn R Programming

baseballr (version 1.5.0)

team_consistency: 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)

Value

Returns a tibble with the following columns

col_nametypes
Teamcharacter
Con_Rnumeric
Con_RAnumeric
Con_R_Ptilenumeric
Con_RA_Ptilenumeric

Arguments

year

Season consistency should be run for.

Details

try(team_consistency(year=2021))