| make_ticks | R Documentation |
Pick tick positions in the (already-transformed) xlim space.
make_ticks(at = NULL, xlim, refline = 1, x_trans = "none")
at |
Numerical vector, create ticks at given values. |
xlim |
Limits for the x-axis as a vector of length 2, i.e.
|
x_trans |
Scale of the axis, one of |
For x_trans in "none" / "scientific" this delegates to
pretty. For "log" / "log2" / "log10"
it converts xlim back to the original scale, runs
log_pretty to get base-aware ticks (e.g. 0.1, 1, 10
rather than 0.22, 0.61, 2.72), and re-applies the transform. The
reference line value is included as a tick when it falls inside the range,
so forest plots always label their visual anchor.
A vector of tick coordinates in the transformed space.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.