worstlosses: Return each team's worst losses

Description Usage Arguments Value Examples

View source: R/worstlosses.R

Description

Return each team's worst losses

Usage

1
worstlosses(df = NULL, teamname = NULL, type = NULL, N = NULL)

Arguments

df

the results dataset

teamname

team name

type

If =NULL then all results are returned. If Otherwise valid types are H, A relating to home-losses, away-losses

N

The total number of games to return

Value

a dataframe of games ending in worst losses

Examples

1
2
3
4
5
worstlosses(england,"Everton")
worstlosses(england,"Aston Villa", type="H")
worstlosses(england,"York City", type="A")
worstlosses(england,"Port Vale", N=20)
worstlosses(england,"Hull City", type="A", N=7)

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