34 lines
438 B
Text
34 lines
438 B
Text
|
\name{gendat}
|
||
|
|
||
|
\alias{gendat}
|
||
|
|
||
|
\title{Generate a binary matrix}
|
||
|
|
||
|
\description{
|
||
|
Generate a random binary matrix for testing purposes.
|
||
|
}
|
||
|
|
||
|
\usage{
|
||
|
gendat(iter, ncols, nrows)
|
||
|
}
|
||
|
|
||
|
\arguments{
|
||
|
\item{iter}{Iterator}
|
||
|
\item{ncols}{Number of columns}
|
||
|
\item{nrows}{Number of rows}
|
||
|
}
|
||
|
|
||
|
\value{
|
||
|
A matrix containing binary values.
|
||
|
}
|
||
|
|
||
|
\author{
|
||
|
Adrian Dusa
|
||
|
}
|
||
|
|
||
|
\examples{
|
||
|
gendat(1, 7, 15)
|
||
|
}
|
||
|
|
||
|
\keyword{functions}
|