set.densities {dsims}R Documentation

Method to set density values

Description

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


[Package dsims version 1.0.4 Index]