Description Usage Arguments Aesthetics Author(s)
Format number Geom
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | geom_number(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
nudge_x = 0,
nudge_y = 0,
digits = 2,
nsmall = 2,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
geom_number2(...)
|
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
Other arguments passed on to |
nudge_x |
Horizontal and vertical adjustment to nudge labels by. Useful for offsetting text from points, particularly on discrete scales. |
nudge_y |
Horizontal and vertical adjustment to nudge labels by. Useful for offsetting text from points, particularly on discrete scales. |
digits |
integer indicating the number of decimal places (round) or significant digits (signif) to be used, the default value is 2. |
nsmall |
the minimum number of digits to the right of the decimal point in formatting real/complex numbers in non-scientific formats, the default value is 2. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
geom_number()
understands the following aesthetics (required
aesthetics are in bold):
x
y
num
alpha
colour
size
angle
hjust
vjust
family
fontface
lineheight
Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.