Skip to contents

Surface Plotters

Functions that do the actual plotting of the surfaces

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

cani_ Functions

Functions that help navigate the options of the package, attempting to answer questions starting “Can I…”

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