R/dgp.R

Defines functions dgp

Documented in dgp

dgp <-
function(x,shape=1,scale=1,log=FALSE)
{
	fx <- 1/scale*(1-shape*x/scale)^((1-shape)/shape)
	if(log) return(log(fx))
	else return(fx)
}
tpetzoldt/FAdist documentation built on March 4, 2022, 12:42 a.m.