dgamma-utils

0th

Percentile

Utility Functions for dgamma() -- Pure R Versions

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

Keywords
distribution
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

See Also

dgamma, dpois.

Aliases
  • bd0
  • dpois_raw
  • stirlerr
Examples
# NOT RUN {
n <- seq(1, 50, by=1/4)
plot(n, sapply(n, stirlerr), type = "b", log="xy")
# }
Documentation reproduced from package DPQ, version 0.3-3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.