R/rgh.R

Defines functions rgh

Documented in rgh

#' @rdname g-and-h
#' @export
rgh = function(n, A, B, g, h, c=0.8, type=c("generalised", "tukey")){
    type = match.arg(type)
    z2gh(stats::rnorm(n), A, B, g, h, c, type)
}

Try the gk package in your browser

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

gk documentation built on Aug. 10, 2023, 5:06 p.m.