Learn R Programming

mlbplotR (version 1.2.0)

valid_team_names: Output Valid MLB Team Abbreviations

Description

Output Valid MLB Team Abbreviations

Usage

valid_team_names(remove_league_info = FALSE)

Value

A vector of type "character".

Arguments

remove_league_info

Should "AL", "NL", and "MLB" be removed from the returned vector? Defaults to FALSE.

Examples

Run this code
# \donttest{
# List valid team abbreviations excluding duplicates
valid_team_names()
valid_team_names(TRUE)
# }

Run the code above in your browser using DataLab