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")

mrcreel/soccer_data documentation built on May 23, 2019, 7:14 a.m.