Description Usage Arguments Value Author(s) See Also Examples
The pretty locations are calculated by the function
pretty
, but the locations that exceed the
range of the data are removed. A special case is the factor: the
locations are 1, 2, ..., up to the number of levels.
1 | axis_loc(x)
|
x |
the data vector (either numeric or factor) |
a numeric vector of the axis tick marks locations
Yihui Xie <http://yihui.name>
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.