EVOLUTION-MANAGER
Edit File: origin.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: Origin</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 origin {raster}"><tr><td>origin {raster}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Origin</h2> <h3>Description</h3> <p>Origin returns (or sets) the coordinates of the point of origin of a Raster* object. This is the point closest to (0, 0) that you could get if you moved towards that point in steps of the x and y resolution. </p> <h3>Usage</h3> <pre> origin(x, ...) origin(x) <- value </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>Raster* object</p> </td></tr> <tr valign="top"><td><code>value</code></td> <td> <p>numeric vector of lenght 1 or 2</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>additional arguments. None implemented</p> </td></tr> </table> <h3>Value</h3> <p>A vector of two numbers (x and y coordinates), or a changed origin for <code>x</code>. </p> <h3>See Also</h3> <p><code><a href="extent.html">extent</a></code></p> <h3>Examples</h3> <pre> r <- raster(xmn=-0.5, xmx = 9.5, ncols=10) origin(r) r origin(r) <- 0 r </pre> <hr /><div style="text-align: center;">[Package <em>raster</em> version 3.3-13 <a href="00Index.html">Index</a>]</div> </body></html>