score_team: Lists all matches that a team has played in that ended in a...

Description Usage Arguments Value Examples

View source: R/score_team.R

Description

Lists all matches that a team has played in that ended in a scoreline

Usage

1
score_team(df = NULL, score = NULL, teamname = NULL)

Arguments

df

the results dataset

score

the scoreline

teamname

the team

Value

a dataframe of games ending in that result

Examples

1
2
score_team(england, "1-0", "Arsenal")  # All games ending 1-0 or 0-1 involving Arsenal
score_team(england, "4-3", "Coventry City")  # All games ending 4-3 or 3-4 involving Coventry City

engsoccerdata documentation built on May 19, 2017, 8:58 p.m.

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

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

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

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