Computes the (log) density of the inverse gamma distribution using either the scale or rate parametrization. The scale parametrization has expected value of scale/(shape - 1)
1 |
x |
vector of nonnegative 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.