opponentfreq: The number of times a team has played against each opponent

View source: R/opponentfreq.r

opponentfreqR Documentation

The number of times a team has played against each opponent

Description

The number of times a team has played against each opponent

Usage

opponentfreq(df = NULL, teamname = NULL)

Arguments

df

The results dataframe

teamname

teamname

Value

a dataframe with frequency of matches and team.

Examples

opponentfreq(england, "Aston Villa")
opponentfreq(england, "York City")
opponentfreq(england, "Milton Keynes Dons")

jalapic/engsoccerdata documentation built on Nov. 15, 2022, 3:34 a.m.