Common arguments
A tidyplot
object.
A tidyplot
generated with the function tidyplot()
.
The data to be displayed in this layer. There are three options:
If all_rows()
(the default) the complete dataset is displayed.
A function
to subset the plot data. See filter_rows()
and friends.
A data.frame
to override the plot data.
For adjusting the distance between grouped objects. Defaults
to 0.8
for plots with at least one discrete axis and 0
for plots with two
continuous axes.
Should dodging preserve the "total"
width of all elements at
a position, or the width of a "single"
element?
If FALSE
(the default) the layer will be constructed of
vector shapes. If TRUE
the layer will be rasterized to a pixel image. This can
be useful when plotting many individual objects (1,000 or more) compromises
the performance of the generated PDF file.
The resolution in dots per inch (dpi) used for rastering
the layer if rasterize
is TRUE
. The default is 300
dpi.
An integer
between 0
and 24
, representing the shape of the
plot symbol.
A number
representing the size of the plot symbol. Typical
values range between 1
and 3
.
Thickness of the line in points (pt). Typical values range between 0.25
and 1
.
Arguments passed on to the geom
function.
A number
between 0
and 1
for the opacity of an object. A value of 0
is completely transparent, 1
is completely opaque.
A hex color for the stroke color. For example, "#FFFFFF"
for white.
A hex color for the fill color. For example, "#FFFFFF"
for white.
A number
between 0
and 1
for the color saturation of an object. A value of 0
is completely desaturated (white), 1
is the original color.
Variable in the dataset to be used for grouping.
Whether the order should be reversed or not. Defaults to FALSE
, meaning not reversed.
Whether the order should be reversed or not. Defaults to FALSE
, meaning not reversed.
Scale cut function to be applied. See scales::cut_short_scale()
and friends.
Font size in points. Defaults to 7
.
Whether to replace count = NA
with count = 0
.
Width of the plot area. Defaults to 50
.
Height of the plot area. Defaults to 50
.
Unit of the plot area width and height. Defaults to mm
.
Whether to force the axis to be continuous. Defaults to FALSE
.