Added randdir
This commit is contained in:
parent
9553105363
commit
c508e49edb
4 changed files with 42 additions and 13 deletions
25
man/randdir.Rd
Normal file
25
man/randdir.Rd
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/randdir.R
|
||||
\name{randdir}
|
||||
\alias{randdir}
|
||||
\title{Generates random numbers}
|
||||
\usage{
|
||||
randdir(counts, nc)
|
||||
}
|
||||
\arguments{
|
||||
\item{counts}{shape parameter}
|
||||
|
||||
\item{nc}{number of rows on output}
|
||||
}
|
||||
\value{
|
||||
vector of length `nc` with r.v. realizations from Gamma(rate=1)
|
||||
}
|
||||
\description{
|
||||
Generates random numbers
|
||||
}
|
||||
\examples{
|
||||
randdir(matrix(c(10, 30, 60), 3), 3)
|
||||
}
|
||||
\seealso{
|
||||
randga
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue