get.densities {dsims} | R Documentation |
Method to get density values
Description
This method extracts the density values from a density object. It will optionally also return the x and y centre points for the density grid cells.
Usage
get.densities(density, coords = FALSE)
Arguments
density |
object of class Density |
coords |
if TRUE also returns x, y coordinates |
Value
either returns a numeric vector of density values or a dataframe with columns x, y and density.
[Package dsims version 1.0.4 Index]