dgamma-utils {DPQ}R Documentation

Utility Functions for dgamma() – Pure R Versions

Description

R transcriptions of the C code utility functions for dgamma() and similar “base” density functions by Catherine Loader.

Usage

dpois_raw(x, lambda, log)
bd0(x, np, verbose = getOption("verbose"))
stirlerr(n)

Arguments

x, n

a number (numeric).

lambda, np

a number (numeric; distrubution parameters.

log

logical indicating if the log-density should be returned, otherwise the density at x.

verbose

logical indicating if some information about the computations are to be printed.

Value

a number

Author(s)

Martin Maechler

See Also

dgamma, dpois.

Examples

n <- seq(1, 50, by=1/4)
plot(n, sapply(n, stirlerr), type = "b", log="xy")

[Package DPQ version 0.4-2 Index]