R/dggamma.R

Defines functions dggamma

Documented in dggamma

dggamma <-
function(x,shape1,scale,shape2){
 y <- (x/scale)^shape1
 dy_dx <- (shape1/scale) * (x/scale)^(shape1 - 1)
 dens <- dgamma(y,shape2)*dy_dx
return(dens)
}

Try the SGB package in your browser

Any scripts or data that you put into this service are public.

SGB documentation built on March 26, 2020, 8:02 p.m.