Description Usage Arguments Aesthetics Note Author(s)
Significant marks Geom
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | geom_mark(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
nudge_x = 0,
nudge_y = 0,
digits = 2,
nsmall = 2,
sig.level = c(0.05, 0.01, 0.001),
mark = c("*", "**", "***"),
sig.thres = NULL,
sep = "",
parse = FALSE,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
geom_mark2(...)
|
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. |
sig.level |
significance level,the default values is [0.05, 0.01, 0.001]. |
mark |
significance mark,the default values is ["*", "**", "***"]. |
sig.thres |
if not NULL, just when p.value is not larger than sig.thres will be ploted. |
sep |
a character string to separate the number and mark symbols. |
parse |
If |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
geom_mark()
understands the following aesthetics (required
aesthetics are in bold):
x
y
p.value
r
alpha
colour
size
angle
hjust
vjust
family
fontface
lineheight
geom_mark
is good in cartesian coordinates, and geom_mark2
is good in polar coordinates.
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.