R/rpcauchy.R

#' @name PowerCauchy
#' @examples
#' rpcauchy(5, 2, 3, 4)
#' @export
rpcauchy = function(n, lambda = 1, mu= 0, sigma = 1){
  n = runif(n)
  x = qpcauchy(n, lambda, mu, sigma)
  return(x)
}

Try the powdist package in your browser

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

powdist documentation built on May 1, 2019, 10:11 p.m.