ngoals: Return all instances of a team scoring n goals

Description Usage Arguments Value Examples

View source: R/ngoals.R

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 29, 2017, 10:28 p.m.

Search within the engsoccerdata package
Search all R packages, documentation and source code