get.densities-methods: Method to get density values

get.densitiesR 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.


dsims documentation built on May 29, 2024, 12:10 p.m.