geom_curling {sportyR} | R Documentation |
Generate a ggplot2
instance containing a curling sheet for a specified
league
Description
Generate a ggplot2
instance containing a curling sheet for a specified
league
Usage
geom_curling(
league,
display_range = "full",
sheet_updates = list(),
color_updates = list(),
rotation = 0,
x_trans = 0,
y_trans = 0,
sheet_units = NULL,
xlims = NULL,
ylims = NULL
)
Arguments
league |
The league for which to draw the surface. This is case-insensitive |
display_range |
A case-insensitive string indicating the display range
to use for the plot. The default is The possible display ranges are:
|
sheet_updates |
A list of updates to the sheet's parameters. These will overwrite the parameters of the league |
color_updates |
A list of updates to the sheet's default colors, which
are set by |
rotation |
An angle, given in degrees, through which the plot should be rotated |
x_trans |
The amount that the |
y_trans |
The amount that the |
sheet_units |
The units with which to draw the sheet. The default is
|
xlims |
The limits on the final display in the |
ylims |
The limits on the final display in the |
Value
A ggplot2
instance with a full-surface representation of a
curling sheet
Examples
## Not run:
geom_curling(league = "wcf", rotation = 270, display_range = "house")
geom_curling(league = "wcf", sheet_units = "ft")
## End(Not run)