Description Usage Arguments Value
View source: R/GGPlot2Tools_GenerateBreaks.R
Generates large and small breaks within given range.
1 2 3 4 5 6 7 8 | GenerateBreaks(
range,
largeStep,
smallStep,
ticks,
op = `*`,
shrinkFactor = -0.05
)
|
range |
Range of breaks (typically a scale of an axis). |
largeStep |
Step for large breaks (the ones with labels). |
smallStep |
If specified, used as step for small breaks. |
ticks |
If |
op |
Used in combination with |
shrinkFactor |
Controls the min and max limits within which large labels are calculated. Can be useful to prevent large labels being plotted outside of plot region, overlapping with e.g. stacked plots. |
A list containing either $Large, $Small collections of breaks, or both.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.