scale_symlog | R Documentation |
Creates a continuous log1p scale, where input values are transformed with symlog_trans()
before calculating the output. Unlike scale_log()
, limits
may cross 0.
Symlog scales can be useful in transforming positively skewed data.
scale_color_symlog(
col,
palette = scales::viridis_pal(),
na_color = "#000000",
limits = NULL,
breaks = NULL,
n_ticks = NULL,
tick_format = format_number,
col_label = "{.col}",
legend = TRUE
)
scale_symlog(
col,
range = 0:1,
na_value = 0,
limits = NULL,
breaks = NULL,
col_label = "{.col}",
legend = TRUE
)
col |
< |
palette |
<
A |
na_color |
< |
limits |
< |
breaks |
< If not
Defaults to |
n_ticks |
< |
tick_format |
< |
col_label |
<
|
legend |
< |
range |
< |
na_value |
< |
Other scales:
rescale_center()
,
rescale_diverge()
,
scale_category()
,
scale_identity()
,
scale_linear()
,
scale_log()
,
scale_power()
,
scale_quantile()
,
scale_quantize()
,
scale_threshold()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.