density.gamma_dist: Method for obtaining the density (pdf) of a 'gamma_dist'...

View source: R/gamma_dist.R

density.gamma_distR Documentation

Method for obtaining the density (pdf) of a gamma_dist object.

Description

Method for obtaining the density (pdf) of a gamma_dist object.

Usage

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

Arguments

x

The gamma_dist object

...

Additional arguments (not used)

Value

A function that computes the pdf at point(s) t

Examples

x <- gamma_dist(shape = 2, rate = 1)
f <- density(x)
f(1)
f(2)

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.