This method sets the density values in a density object.
Usage
set.densities(density, densities)
Arguments
- density
object of class Density
- densities
a numeric vector of density values to update the
density grid with.
Value
returns the Density object with updated density values