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

Description Usage Arguments Value Examples

View source: R/opponentfreq.r

Description

The number of times a team has played against each opponent

Usage

1
opponentfreq(df = NULL, teamname = NULL)

Arguments

df

The results dataframe

teamname

teamname

Value

a dataframe with frequency of matches and team.

Examples

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

engsoccerdata documentation built on May 2, 2019, 8:29 a.m.