Learn R Programming

classInt (version 0.1-7)

findCols: extract classes from classInterval object

Description

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

Usage

findCols(clI)

Arguments

clI
a "classIntervals" object

Value

  • an integer vector of class indices

See Also

classIntervals, findInterval

Examples

Run this code
data(jenks71)
fix5 <- classIntervals(jenks71$jenks71, n=5, style="fixed", fixedBreaks=c(15.57, 25, 50, 75, 100, 155.30))
fix5
findCols(fix5)

Run the code above in your browser using DataLab