plot.fourfactors: Plot possessions, pace, offensive and defensive rating, and...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/plot.fourfactors.R

Description

Plot possessions, pace, offensive and defensive rating, and Four Factors from a 'fourfactors' object

Usage

1
2
## S3 method for class 'fourfactors'
plot(x, title = NULL, ...)

Arguments

x

an object of class fourfactors.

title

character, plot title.

...

other graphical parameters.

Details

The height of the bars in the two four factor plots are given by the difference between the team value and the average on the analyzed teams.

Value

A list of four ggplot2 plots.

Author(s)

Marco Sandri, Paola Zuccolotto, Marica Manisera (basketballanalyzer.help@unibs.it)

References

P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.

See Also

fourfactors

Examples

1
2
3
selTeams <- c(2,6,10,11)
FF <- fourfactors(Tbox[selTeams,], Obox[selTeams,])
plot(FF)

BasketballAnalyzeR documentation built on July 2, 2020, 2:14 a.m.