dinvgamma: Inverse Gamma Density Function

Description Usage Arguments

View source: R/distribution_functions_ramses.R

Description

Computes the (log) density of the inverse gamma distribution using either the scale or rate parametrization.

Usage

1
dinvgamma(x, shape, rate, scale = 1/rate, log = FALSE)

Arguments

x

vector of positive values.

shape, scale

shape and scale parameters. Must be stricly positive.

rate

alternative way to specify scale.

log

logical; if TRUE, density calculations are computed on the log scale.


wzhorton/ramses documentation built on May 17, 2019, 1:03 p.m.