equalSteps | R Documentation |
Creates intervals with equal sizes from min/max values to be used by plot functions. If data is provided, it gets min/max from data.
equalSteps(min = NULL, max = NULL, slices, data = NULL)
min |
The minimum value |
max |
The maximum value |
slices |
The number of slices to be created. Note that, when you have n slices, the legend will have n - 1 colors. |
data |
Any data that can be converted to a data.frame. The first column of the data will be used to compute min and max. |
equalSteps(0, 100, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.