density.exponential: Method to obtain the pdf of an 'exponential' object.

View source: R/exponential.R

density.exponentialR Documentation

Method to obtain the pdf of an exponential object.

Description

Method to obtain the pdf of an exponential object.

Usage

## S3 method for class 'exponential'
density(x, ...)

Arguments

x

The object to obtain the pdf of

...

Additional arguments (not used)

Value

A function that computes the pdf of the exponential distribution at a given point t. Also accepts a rate argument that determines the failure rate of the exponential distribution (defaults to the failure rate of object x) and a log argument that determines whether to compute the log of the pdf.


queelius/algebraic.dist documentation built on Jan. 27, 2025, 8:46 a.m.