R/rand.kappa.R

### random generation from kappa distribution
### originally from homtest package
rand.kappa <- function (numerosita, xi, alfa, k, h) 
{
  F <- runif(numerosita, min = 1e-10, max = 0.9999999999)
  x <- invF.kappa(F, xi, alfa, k, h)
  return(x)
}

Try the PRSim package in your browser

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

PRSim documentation built on Sept. 19, 2023, 5:07 p.m.