R/dgumbel.R

Defines functions dgumbel

Documented in dgumbel

dgumbel <-
function(x,scale=1,location=0,log=FALSE)
{
	fx <- 1/scale*exp(-(x-location)/scale-exp(-(x-location)/scale))
	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.