EVOLUTION-MANAGER
Edit File: findCols.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: extract classes from classInterval object</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for findCols {classInt}"><tr><td>findCols {classInt}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>extract classes from classInterval object</h2> <h3>Description</h3> <p>This helper function is a wrapper for <code>findInterval</code> to extract classes from a "classInterval" object </p> <h3>Usage</h3> <pre> findCols(clI) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>clI</code></td> <td> <p>a "classIntervals" object</p> </td></tr> </table> <h3>Value</h3> <p>an integer vector of class indices </p> <h3>Author(s)</h3> <p>Roger Bivand <Roger.Bivand@nhh.no></p> <h3>See Also</h3> <p><code><a href="classIntervals.html">classIntervals</a></code>, <code><a href="../../base/html/findInterval.html">findInterval</a></code></p> <h3>Examples</h3> <pre> 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)) } </pre> <hr /><div style="text-align: center;">[Package <em>classInt</em> version 0.4-3 <a href="00Index.html">Index</a>]</div> </body></html>