EVOLUTION-MANAGER
Edit File: density.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: Density plot</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 density {raster}"><tr><td>density {raster}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Density plot</h2> <h3>Description</h3> <p>Create density plots of values in a Raster object </p> <h3>Usage</h3> <pre> ## S4 method for signature 'Raster' density(x, layer, maxpixels=100000, plot=TRUE, main, ...) </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>layer</code></td> <td> <p>numeric. Can be used to subset the layers to plot in a multilayer object (RasterBrick or RasterStack)</p> </td></tr> <tr valign="top"><td><code>maxpixels</code></td> <td> <p>the maximum number of (randomly sampled) cells to be used for creating the plot</p> </td></tr> <tr valign="top"><td><code>plot</code></td> <td> <p>if <code>TRUE</code> produce a plot, else return a density object</p> </td></tr> <tr valign="top"><td><code>main</code></td> <td> <p>main title for each plot (can be missing)</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional arguments passed to base plot</p> </td></tr> </table> <h3>Value</h3> <p>density plot (and a density object, returned invisibly if <code>plot=TRUE)</code> </p> <h3>Examples</h3> <pre> logo <- stack(system.file("external/rlogo.grd", package="raster")) density(logo) </pre> <hr /><div style="text-align: center;">[Package <em>raster</em> version 3.3-13 <a href="00Index.html">Index</a>]</div> </body></html>