summary_football: The Basic Statistics of Football Team's Performance

Description Usage Arguments Value Examples

Description

This function returns the basic statistics of football team's performance variables

Usage

1
summary_football(data, perfrm_vars, teams, all = FALSE)

Arguments

data

the data set of merged data

perfrm_vars

the performance variables

teams

the team names of given teams

all

If all is true, it will give the summary statistics of all teams. The default value of all is FALSE.

Value

the basic statistics of football team Performance

Examples

1
2
# Example get the summary statistics of points, won, and loss of all teams
summary_football(data = football.teams, perfrm_vars = c("points", "won", "loss"), all = TRUE)

XingfuXu/football documentation built on May 14, 2019, 5:15 a.m.