EVOLUTION-MANAGER
Edit File: cut.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: Convert values to classes</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 cut {raster}"><tr><td>cut {raster}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Convert values to classes</h2> <h3>Description</h3> <p>Cut uses the base function <code><a href="../../base/html/cut.html">cut</a></code> to classify the values of a Raster* object according to which interval they fall in. The intervals are defined by the argument <code>breaks</code>. The leftmost interval corresponds to level one, the next leftmost to level two and so on. </p> <h3>Usage</h3> <pre> cut(x, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>A Raster* object</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>additional arguments. See <a href="../../base/html/cut.html">cut</a></p> </td></tr> </table> <h3>Value</h3> <p>Raster* object </p> <h3>See Also</h3> <p><code> <a href="subs.html">subs</a>, <a href="reclassify.html">reclassify</a>, <a href="calc.html">calc</a></code> </p> <h3>Examples</h3> <pre> r <- raster(ncols=36, nrows=18) values(r) <- rnorm(ncell(r)) breaks <- -2:2 * 3 rc <- cut(r, breaks=breaks) </pre> <hr /><div style="text-align: center;">[Package <em>raster</em> version 3.3-13 <a href="00Index.html">Index</a>]</div> </body></html>