Range and interval for color bar legend
This function returns the minimum, maximum, and interval value that can be used to define a color bar legend. The minimum and maximum values are computed for the first and 99th percentile.
intFun.min.max.int.ext(x)
x |
An R object |
Minimum, maximum, and interval value for color bar legend
library(raster) library(classInt) # create a raster object data <- runif(100,-23,864) data <- matrix(data, ncol=10) data <- raster::raster(data) # Get min, max, and interval for color bar legend mmi <- intFun.min.max.int.ext(data)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.