teamPerformance: teamPerformance

Description Usage Arguments Details Value Examples

View source: R/teamPerformance.R

Description

This function allows R users to visualize the performance of a specified team in the English Premier League over a specified season.

Usage

1
teamPerformance(season, team)

Arguments

season

The season argument allows the user to specify for which season he or she wants to get EPL e.g. "1819" for 2018 - 2019 Season; and "1718" for 2017 - 2018 season.

team

The team argument allows the user to filter the data to visualize the season performance of the team that the user is only interested in. Ensure that team name is in correct character string format, e.g. "Chelsea" or "Man City".

Details

The function requires the user to input two arguments. The first argument is the season and the second argument is the team.

Value

A plot of the specified team's cummulated points over the specified Season.

Examples

1
2
3
teamPerformance(season = "1819", team = "Arsenal")
teamPerformance(season = "1617", "Chelsea")
teamPerformance(1112, "Wolves")

gl2668/eplR documentation built on Dec. 18, 2019, 2:34 a.m.