% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim-utils.R
\name{pattern_key}
\alias{pattern_key}
\title{Convert binary matrix rows to string keys}
\usage{
pattern_key(x)
}
\arguments{
\item{x}{A numeric or integer matrix.}
}
\value{
A character vector of length \code{nrow(x)}.
}
\description{
Collapses each row of a binary matrix to a single string by pasting
the entries without separator (e.g. \code{c(0,1,0)} becomes \code{"010"}).
}
\keyword{internal}
