Description Usage Arguments Value
Provides extra options for rounding numbers, such as rounding a value to uneven intervals
and setting those intervals to 'snap' or pass through a defined origin value. Can also be used on
Extent objects from the raster
package.
1 | AProunder(value, interval, direction = "closest", snap = 0)
|
value |
numeric or Extent object. Input value |
interval |
numeric. The interval to which the input value should be rounded |
direction |
character. The rounding direction. Can be |
snap |
numeric. An origin value through which the interval with pass through. Default is 0. |
Rounded number or Extent object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.