The _comma
ones set comma format for axis text and expand=c(0,0)
(you need to set limits).
scale_x_percent(name = waiver(), breaks = waiver(), minor_breaks = waiver(), labels = scales::percent, limits = NULL, expand = c(0, 0), oob = censor, na.value = NA_real_, trans = "identity", position = "bottom", sec.axis = waiver()) scale_y_percent(name = waiver(), breaks = waiver(), minor_breaks = waiver(), labels = scales::percent, limits = NULL, expand = c(0, 0), oob = censor, na.value = NA_real_, trans = "identity", position = "left", sec.axis = waiver()) scale_x_comma(name = waiver(), breaks = waiver(), minor_breaks = waiver(), labels = scales::comma, limits = NULL, expand = c(0, 0), oob = censor, na.value = NA_real_, trans = "identity", position = "bottom", sec.axis = waiver()) scale_y_comma(name = waiver(), breaks = waiver(), minor_breaks = waiver(), labels = scales::comma, limits = NULL, expand = c(0, 0), oob = censor, na.value = NA_real_, trans = "identity", position = "left", sec.axis = waiver())
NULL
, the default, the name of the scale is taken from the first
mapping used for that aesthetic.NULL
for no breaks
waiver()
for the default breaks computed by the
transformation object
NULL
for no minor breaks
waiver()
for the default breaks (one minor break between
each major break)
NULL
for no labels
waiver()
for the default labels computed by the
transformation object
breaks
)
NA
to refer to the existing minimum or maximum.c(0.05, 0)
for continuous variables, and c(0, 0.6)
for
discrete variables.name_trans
, e.g.
boxcox_trans
. You can create your own
transformation with trans_new
.The _percent
ones set precent format for axis text and expand=c(0,0)
(you need to set limits).