findCols

0th

Percentile

extract classes from classInterval object

This helper function is a wrapper for findInterval to extract classes from a "classInterval" object

Keywords
spatial
Usage
findCols(clI)
Arguments
clI

a "classIntervals" object

Value

an integer vector of class indices

See Also

classIntervals, findInterval

Aliases
  • findCols
Examples
# NOT RUN {
if (!require("spData", quietly=TRUE)) {
  message("spData package needed for examples")
  run <- FALSE
} else {
  run <- TRUE
}
if (run) {
data(jenks71, package="spData")
fix5 <- classIntervals(jenks71$jenks71, n=5, style="fixed",
 fixedBreaks=c(15.57, 25, 50, 75, 100, 155.30))
print(fix5)
}
if (run) {
print(findCols(fix5))
}
# }
Documentation reproduced from package classInt, version 0.4-3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.