R/pgamma3.R

Defines functions pgamma3

Documented in pgamma3

pgamma3 <-
function(q,shape=1,scale=1,thres=0,lower.tail=TRUE,log.p=FALSE)
{
	Fx <- pgamma(q-thres,shape,1/scale)
	if(!lower.tail) Fx <- 1 - Fx
	if(log.p) Fx <- log(Fx)
	return(Fx)
}
tpetzoldt/FAdist documentation built on March 4, 2022, 12:42 a.m.