ngoals: Return all instances of a team scoring n goals

Description Usage Arguments Value Examples

Description

Return all instances of a team scoring n goals

Usage

1
ngoals(df = NULL, n = NULL, teamname = NULL)

Arguments

df

The results dataframe

n

Number of goals

teamname

teamname

Value

a dataframe with summary of results.

Examples

1
2
3
ngoals(england, 7, "York City")
ngoals(england, 8, "Manchester United")
ngoals(england, 9, "Aston Villa")

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