Description Usage Arguments Value Methods (by class) Examples
View source: R/plot_functions.R
AxisFormat
(for now the numeric method) customizes axis
tick labels by reducing tick labels with many characters to the bare
minimum. For example, 0.015 becomes 15 or 1500 becomes 1.5. The returned
function AxisTitle
allows for customizing the axis label with 'x
10^power', where 'power' is either negative or positive depending upon
input.
1 2 3 4 | AxisFormat(x, ...)
## S3 method for class 'numeric'
AxisFormat(x, ...)
|
x |
Vector (for now numeric only) typically supplied from
|
... |
Currently not used |
A list with new re-formatted labels and function AxisTitle
for
customizing axis label.
numeric
: method for object class 'numeric'.
1 | AxisFormat(c(0, 0.015, 0.020, 0.025, 0.030))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.