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


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.