Replaced randga() with rgamma() (closes #9)

This commit is contained in:
Waldir Leoncio 2025-01-15 11:07:44 +01:00
parent 371ec35a06
commit 57dcff2209
5 changed files with 3 additions and 91 deletions

View file

@ -20,6 +20,3 @@ Generates random numbers
\examples{
rBAPS:::randdir(matrix(c(10, 30, 60), 3), 3)
}
\seealso{
randga
}

View file

@ -1,25 +0,0 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/randga.R
\name{randga}
\alias{randga}
\title{Generates random number from a Gamma distribution}
\usage{
randga(a, b)
}
\arguments{
\item{a}{shape}
\item{b}{rate}
}
\value{
One realization of Gamma(a, b)
}
\description{
Generates one random number from shape parameter a and rate
parameter b
}
\details{
The generated random variable has mean a / b. It will be
positively-skewed for small values, but converges to a symmetric distribution
for very large numbers of a and b.
}