https://github.com/cran/dse
Tip revision: 83dd780387085f7dae6366d8ad7562f0420a9d95 authored by Paul Gilbert on 17 November 2011, 00:00:00 UTC
version 2011.11-2
version 2011.11-2
Tip revision: 83dd780
permute.Rd
\name{permute}
\alias{permute}
\title{Permute}
\description{
Return matrix with rows indicating all possible selections of
elements from seq(M). 0 in the result indicates omit.
M is usually a positive integer. M=0 gives NULL.
Neg. M give -permute(abs(M)).
}
\usage{
permute(M)
}
\arguments{
\item{M}{An integer.}
}
\value{A matrix.}
\examples{
permute(4)
}
\concept{DSE}
\keyword{ts}