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)
}

Try the FAdist package in your browser

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

FAdist documentation built on March 18, 2022, 5:24 p.m.