R/rggev.R

Defines functions rggev

Documented in rggev

rggev <-
function(n,xi,mu,sigma,delta)
     {u=runif(n)
      x=mu+(sigma/xi)*( (qgamma(1-u,delta,1))^(-xi) - 1 ) 
      return(x)}

Try the MCMC4Extremes package in your browser

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

MCMC4Extremes documentation built on May 1, 2019, 8:50 p.m.