2019-08-30 19:16:52 +00:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/util.R
|
|
|
|
\name{elem.pairs}
|
|
|
|
\alias{elem.pairs}
|
2019-09-12 16:42:28 +00:00
|
|
|
\title{Creates a (numeric) matrix where each column contains
|
2019-08-30 19:16:52 +00:00
|
|
|
an element to element matching.}
|
|
|
|
\usage{
|
|
|
|
elem.pairs(elements)
|
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{elements}{numeric vector of elements to match}
|
|
|
|
}
|
|
|
|
\value{
|
2019-09-12 16:42:28 +00:00
|
|
|
matrix of size `(2, n * (n - 1) / 2)` for a argument of lenght `n`.
|
2019-08-30 19:16:52 +00:00
|
|
|
}
|
|
|
|
\description{
|
2019-09-12 16:42:28 +00:00
|
|
|
Creates a (numeric) matrix where each column contains
|
2019-08-30 19:16:52 +00:00
|
|
|
an element to element matching.
|
|
|
|
}
|
2019-09-12 16:42:28 +00:00
|
|
|
\examples{
|
|
|
|
elem.pairs(seq.int(2, 5))
|
|
|
|
}
|
2019-08-30 19:16:52 +00:00
|
|
|
\keyword{internal}
|