ngoals: Return all instances of a team scoring n goals

ngoalsR Documentation

Return all instances of a team scoring n goals

Description

Return all instances of a team scoring n goals

Usage

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

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


jalapic/engsoccerdata documentation built on Nov. 15, 2022, 3:34 a.m.