axis_labels_uk | R Documentation |
Texts used by default for axis labels in plots are recalled from character vectors returned by these functions. The aim is that their default values can be easily changed or translated to other languages. They contain only the text part, but not symbols or units of expression.
axis_labels_uk(append = "", sep = "")
axis_labels_uk_comma()
axis_labels_none()
axis_labels()
append |
character The string to be appended to each label, |
sep |
character Passed to function |
By default axis_labels()
contains a copy of
axis_labels_uk_comma()
. By assigning to this name a user function
that returns a named character vector using the same names as those
returned by these functions, it is possible to temporarily change
the default texts.
Currently only UK English label texts are predefined and
axis_labels()
is a synonym of axis_labels_uk()
.
A character vector
axis_labels()[["w.length"]] # ending in a comma
axis_labels_uk()[["w.length"]] # no comma
axis_labels_none()[["w.length"]] # empty label
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.