R/pgumbel.R

Defines functions pgumbel

Documented in pgumbel

pgumbel <-
function(q, location = 0, scale = 1){
  if(any(scale <= 0)) stop("standard deviation must be strictly > 0.")
  1-exp(-exp((q - location)/scale))
}

Try the dirttee package in your browser

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

dirttee documentation built on Sept. 14, 2022, 5:06 p.m.