Plot Scaled 'ggplot' Representations of Sports Playing Surfaces


[Up] [Top]

Documentation for package ‘sportyR’ version 2.2.2

Help Pages

cani_color_league_features Check to see what features of a surface can be colored
cani_plot_league Check to see if a league can be plotted, and alert as to which function(s) that league will work for
cani_plot_sport Check to see if a sport can be plotted, and alert as to which league(s) are plottable for the sport
convert_units Convert all units, regardless of starting and ending units
geom_baseball Generate a 'ggplot2' instance containing a baseball field for a specified league
geom_basketball Generate a 'ggplot2' instance containing a basketball court for a specified league
geom_curling Generate a 'ggplot2' instance containing a curling sheet for a specified league
geom_football Generate a 'ggplot2' instance containing a football field for a specified league
geom_hockey Generate a 'ggplot2' instance containing an ice rink for a specified league
geom_lacrosse Generate a 'ggplot2' instance containing a lacrosse field for a specified league
geom_soccer Generate a 'ggplot2' instance containing a soccer pitch for a specified league
geom_tennis Generate a 'ggplot2' instance containing a tennis court for a specified league
geom_volleyball Generate a 'ggplot2' instance containing a volleyball court for a specified league