Skip to contents

Counts the number of times a team appears in a matches dataframe

Usage

count_team_matches(matches)

Arguments

matches

dataframe assumed to have "blue1", "blue2", "blue3", "red1", "red2", and "red3" columns.

Value

dataframe with team ids and the count of matches appeared in