EVOLUTION-MANAGER
Edit File: dimensions.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: retrieve spatial dimensions from spatial data</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 dimensions-methods {sp}"><tr><td>dimensions-methods {sp}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> retrieve spatial dimensions from spatial data</h2> <h3>Description</h3> <p>retrieves spatial dimensions box from spatial data </p> <h3>Usage</h3> <pre> dimensions(obj) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>obj</code></td> <td> <p> object deriving from class "Spatial" </p> </td></tr> </table> <h3>Value</h3> <p> two-column matrix; the first column has the minimum, the second the maximum values; rows represent the spatial dimensions</p> <h3>Methods</h3> <dl> <dt>obj = "Spatial"</dt><dd><p> object deriving from class "Spatial" </p> </dd> </dl> <h3>Examples</h3> <pre> # just 9 points on a grid: x <- c(1,1,1,2,2,2,3,3,3) y <- c(1,2,3,1,2,3,1,2,3) xy <- cbind(x,y) S <- SpatialPoints(xy) dimensions(S) # data.frame data(meuse.grid) coordinates(meuse.grid) <- ~x+y gridded(meuse.grid) <- TRUE dimensions(meuse.grid) </pre> <hr /><div style="text-align: center;">[Package <em>sp</em> version 1.4-2 <a href="00Index.html">Index</a>]</div> </body></html>