team_detect: Search for teams in the design

View source: R/PrepData.R

team_detectR Documentation

Search for teams in the design

Description

Search for teams in the design

Usage

team_detect(design, string, ignore.case = TRUE)

Arguments

design

Design object with information from a collection of games. This is a list that is the output of get_design()

string

String which contains part of a team name being searched for

ignore.case

Whether or not the searc is case sensitive

Value

A vector of team names that contain string

Examples

design <- get_design(regssn2021)
team_detect(design, "new")

przybylee/NFLpredictions documentation built on Feb. 9, 2025, 9:22 p.m.