dgam: Density of a Gamma variable

Description Usage Arguments Value Author(s) See Also Examples

View source: R/dgam.R

Description

Density of a Gamma-distributed variable in mean parametrization

Usage

1
dgam(y,mu,delta)

Arguments

y

vector of length n

mu

mean parameter; either a number or a vector of length n

delta

dispersion parameter; a number

Value

density, evaluated at y, this is a vector of length n

Author(s)

Nicole Kraemer

See Also

pgam

Examples

1
2
3
4
5
6
y<-0:10
mu<-5 
delta<-1
out<-dgam(y,mu,delta)
# out equals
out1<-dgamma(y,shape=1/delta,rate=1/(delta*mu))

CopulaRegression documentation built on May 29, 2017, 5:47 p.m.